author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
104,109
02.06.2022 15:51:40
-10,800
cdba6a7702ba1731423be18ff0ac7a9eb3d5fd87
Added strict checks and combined logic to addons, ctr and dashboard-proxy commands
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/microk8s-addons.wrapper", "new_path": "microk8s-resources/wrappers/microk8s-addons.wrapper", "diff": "@@ -9,6 +9,8 @@ export PATH=\"$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH\"\nARCH=\"$($SNAP/bin/uname -m)\"\nexport IN...
Python
Apache License 2.0
canonical/microk8s
Added strict checks and combined logic to addons, ctr and dashboard-proxy commands (#3196)
104,143
03.06.2022 10:27:31
-10,800
c19882f7a7c3ac44034494587754baead834ca3d
Implement "microk8s images import" command
[ { "change_type": "ADD", "old_path": null, "new_path": "microk8s-resources/wrappers/microk8s-images.wrapper", "diff": "+#!/bin/bash\n+\n+set -eu\n+\n+source $SNAP/actions/common/utils.sh\n+\n+export PATH=\"$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH\"\n+\n+ARCH=\"$($SNAP/bin/uname -m)\"\n...
Python
Apache License 2.0
canonical/microk8s
Implement "microk8s images import" command (#3183)
104,109
03.06.2022 12:04:07
-10,800
a7b849fa896aaa23889e52bde2520e6b3a312cd0
Added strict checks and combined strict/classic logic for dbctl, enable and disable commands
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/microk8s-dbctl.wrapper", "new_path": "microk8s-resources/wrappers/microk8s-dbctl.wrapper", "diff": "@@ -9,6 +9,8 @@ export PYTHONNOUSERSITE=false\nsource $SNAP/actions/common/utils.sh\n+exit_if_not_root\n+\nexit_if_no_permissions\nL...
Python
Apache License 2.0
canonical/microk8s
Added strict checks and combined strict/classic logic for dbctl, enable and disable commands (#3198)
104,109
03.06.2022 14:18:08
-10,800
eb86b242353b9bd6bf761bb7a989daa0f86d1ca7
Added strict checks, combined classic/strict logic and LANG settings for join, leave and refresh-certs
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/microk8s-join.wrapper", "new_path": "microk8s-resources/wrappers/microk8s-join.wrapper", "diff": "@@ -6,6 +6,8 @@ export PATH=\"$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH\"\nARCH=\"$($SNAP/bin/uname -m)\"\nexport IN_SNA...
Python
Apache License 2.0
canonical/microk8s
Added strict checks, combined classic/strict logic and LANG settings for join, leave and refresh-certs (#3200)
104,109
03.06.2022 16:08:57
-10,800
3223749b74dead7c230406328a5a0daa20b13488
Added strict checks, LANG exports and combined strict/classic logic for reset, stop, start
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/microk8s-reset.wrapper", "new_path": "microk8s-resources/wrappers/microk8s-reset.wrapper", "diff": "@@ -6,5 +6,7 @@ export PATH=\"$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH\"\nARCH=\"$($SNAP/bin/uname -m)\"\nexport IN_S...
Python
Apache License 2.0
canonical/microk8s
Added strict checks, LANG exports and combined strict/classic logic for reset, stop, start (#3201)
104,172
06.06.2022 16:31:00
-32,400
90c02bb77619bf4da560bd4337b3dc9b23441e99
Make sure to use microk8s-kubectl.wrapper If we call kubectl simply, the system installed kubectl has precedence. That may lead to some weird issues like an error due to a discrepancy between kubectl cli and kubernetes API versions. Closes:
[ { "change_type": "MODIFY", "old_path": "scripts/wrappers/common/utils.py", "new_path": "scripts/wrappers/common/utils.py", "diff": "@@ -13,7 +13,7 @@ import yaml\nLOG = logging.getLogger(__name__)\n-kubeconfig = \"--kubeconfig=\" + os.path.expandvars(\"${SNAP_DATA}/credentials/client.config\")\n+KUB...
Python
Apache License 2.0
canonical/microk8s
Make sure to use microk8s-kubectl.wrapper (#3176) If we call kubectl simply, the system installed kubectl has precedence. That may lead to some weird issues like an error due to a discrepancy between kubectl cli and kubernetes API versions. Closes: #3175
104,109
06.06.2022 11:57:45
-10,800
3bf27cd292580c30708d669ff7a96e144cd18021
Add strict checks, combined strict/classic logic to apiservice-kicker and microk8s.wrapper
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/apiservice-kicker", "new_path": "microk8s-resources/wrappers/apiservice-kicker", "diff": "@@ -21,6 +21,7 @@ then\nexit 0\nfi\n+group=$(get_microk8s_group)\nrestart_attempt=0\ninstalled_registry_help=0\nnic_name=\"vxlan.calico\"\n@@ ...
Python
Apache License 2.0
canonical/microk8s
Add strict checks, combined strict/classic logic to apiservice-kicker and microk8s.wrapper (#3211)
104,109
06.06.2022 13:12:39
-10,800
69617126229f25b2a7e76b8cad496a574d95454c
Added strict checks and combined logic to flanneld and kubelite
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-flanneld-with-args", "new_path": "microk8s-resources/wrappers/run-flanneld-with-args", "diff": "@@ -44,6 +44,9 @@ fi\n# This is really the only way I could find to get the args passed in correctly.\ndeclare -a args=\"($(cat $SNA...
Python
Apache License 2.0
canonical/microk8s
Added strict checks and combined logic to flanneld and kubelite (#3212)
104,109
06.06.2022 14:03:00
-10,800
5ff8682524d29037a299ff54d09a885954668ad9
Added strict checks and combined strict/classic logic to configure hook
[ { "change_type": "MODIFY", "old_path": "snap/hooks/configure", "new_path": "snap/hooks/configure", "diff": "@@ -4,6 +4,23 @@ set -eux\nsource $SNAP/actions/common/utils.sh\n+if is_strict && [ ! -f \"${SNAP_DATA}/var/lock/installed.lock\" ]\n+then\n+ exit 0\n+fi\n+\n+\n+if is_strict\n+then\n+\n+ ARCH...
Python
Apache License 2.0
canonical/microk8s
Added strict checks and combined strict/classic logic to configure hook (#3213)
104,109
06.06.2022 15:49:32
-10,800
227da6d6e9af87d3ffaee9d440a493cc7a1419a5
Added strict checks and combined strict/classic logic to install hook
[ { "change_type": "MODIFY", "old_path": "snap/hooks/configure", "new_path": "snap/hooks/configure", "diff": "@@ -4,7 +4,7 @@ set -eux\nsource $SNAP/actions/common/utils.sh\n-if is_strict && [ ! -f \"${SNAP_DATA}/var/lock/installed.lock\" ]\n+if [ ! -f \"${SNAP_DATA}/var/lock/installed.lock\" ]\nthen\...
Python
Apache License 2.0
canonical/microk8s
Added strict checks and combined strict/classic logic to install hook (#3214)
104,109
07.06.2022 10:39:54
-10,800
6e9620f2f4872582ff52cf2b257c2989d131ee24
Added strict checks and combined strict/classic logic to remove hook
[ { "change_type": "MODIFY", "old_path": "snap/hooks/remove", "new_path": "snap/hooks/remove", "diff": "@@ -52,12 +52,23 @@ rm -rf ${SNAP_COMMON}/run/containerd/* || true\n(cat /proc/mounts | grep ${SNAP_COMMON}/var/run/docker | cut -d ' ' -f 2 | xargs umount) || true\n(cat /proc/mounts | grep ${SNAP_...
Python
Apache License 2.0
canonical/microk8s
Added strict checks and combined strict/classic logic to remove hook (#3215)
104,109
07.06.2022 14:50:33
-10,800
8d0916787351e63b6815656a7f0057ef38d5344d
Added dynamic group determination and strict check to py utils and addons
[ { "change_type": "MODIFY", "old_path": "scripts/cluster/common/utils.py", "new_path": "scripts/cluster/common/utils.py", "diff": "@@ -6,12 +6,31 @@ import time\nimport string\nimport random\nimport datetime\n+from pathlib import Path\nfrom subprocess import check_output, CalledProcessError\nimport y...
Python
Apache License 2.0
canonical/microk8s
Added dynamic group determination and strict check to py utils and addons (#3222)
104,143
07.06.2022 18:48:13
-10,800
4ba062f10fe540d3c3bf989e6f9bb817b1b674ff
Restart cluster-agent in configure hook
[ { "change_type": "MODIFY", "old_path": "snap/hooks/configure", "new_path": "snap/hooks/configure", "diff": "@@ -22,6 +22,7 @@ then\nfi\nneed_api_restart=false\n+need_cluster_agent_restart=false\nneed_proxy_restart=false\nneed_kubelet_restart=false\nneed_controller_restart=false\n@@ -60,6 +61,7 @@ th...
Python
Apache License 2.0
canonical/microk8s
Restart cluster-agent in configure hook (#3123)
104,143
08.06.2022 10:28:22
-10,800
f35706028fe1d0074468259e636b8b2d07e84b5e
get pvcs from all namespaces on inspect script
[ { "change_type": "MODIFY", "old_path": "scripts/inspect.sh", "new_path": "scripts/inspect.sh", "diff": "@@ -99,7 +99,7 @@ function store_kubernetes_info {\nsudo -E /snap/bin/microk8s kubectl cluster-info dump -A 2>&1 | sudo tee $INSPECT_DUMP/k8s/cluster-info-dump > /dev/null\nsudo -E /snap/bin/micro...
Python
Apache License 2.0
canonical/microk8s
get pvcs from all namespaces on inspect script (#3224)
104,143
09.06.2022 13:38:26
-10,800
649c36455687fab6204cfcac7bbf45ad0b3ffe87
Implement "microk8s images export-local" command
[ { "change_type": "MODIFY", "old_path": "scripts/cluster/images.py", "new_path": "scripts/cluster/images.py", "diff": "#!/usr/bin/python3\n+import os\n+import subprocess\nimport sys\n+from typing import List\nimport click\nfrom distributed_op import do_image_import\n+CTR = \"{}/microk8s-ctr.wrapper\"...
Python
Apache License 2.0
canonical/microk8s
Implement "microk8s images export-local" command (#3187)
104,109
10.06.2022 10:41:47
-10,800
d10f3706dbdd406b6ef64fee69b48700a5e90c97
Added strict checks and dynamic group determination to upgrade scripts
[ { "change_type": "MODIFY", "old_path": "upgrade-scripts/000-switch-to-calico/commit-master.sh", "new_path": "upgrade-scripts/000-switch-to-calico/commit-master.sh", "diff": "@@ -4,7 +4,6 @@ set -ex\necho \"Switching master to calico\"\nsource $SNAP/actions/common/utils.sh\n-CA_CERT=/snap/core18/curr...
Python
Apache License 2.0
canonical/microk8s
Added strict checks and dynamic group determination to upgrade scripts (#3234)
104,143
10.06.2022 10:42:14
-10,800
daba4b28110d87facb681ba1b64226535c5f2e41
Improve handling of missing default routes in containerd and kubelite
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -934,3 +934,20 @@ is_first_boot_on_strict() {\nreturn 0\nfi\n}\n+\n+default_route_exists() {\n+ # test if we have a default route\n+ ( ip route; ...
Python
Apache License 2.0
canonical/microk8s
Improve handling of missing default routes in containerd and kubelite (#3233)
104,143
14.06.2022 13:43:43
-10,800
47118174e42e3a8038b3a69b0df0a33baf12dfd5
ensure kubelet --node-ip is set correctly when joining a cluster
[ { "change_type": "MODIFY", "old_path": "scripts/cluster/join.py", "new_path": "scripts/cluster/join.py", "diff": "@@ -550,6 +550,17 @@ def store_base_kubelet_args(args_string):\ntry_set_file_permissions(args_file)\n+def update_kubelet_node_ip(args_string, hostname_override):\n+ \"\"\"\n+ Update the ...
Python
Apache License 2.0
canonical/microk8s
ensure kubelet --node-ip is set correctly when joining a cluster (#3216)
104,143
20.06.2022 14:15:30
-10,800
6d27b9a05d3d83a7e374abd4e0e26d00c1487293
fix containerd initialization after reboot
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-containerd-with-args", "new_path": "microk8s-resources/wrappers/run-containerd-with-args", "diff": "@@ -60,7 +60,7 @@ then\nfi\n# clean leftover container state if we just booted\n-if (is_strict && is_first_boot_on_strict) || (!...
Python
Apache License 2.0
canonical/microk8s
fix containerd initialization after reboot (#3260)
104,109
20.06.2022 16:38:02
-10,800
041ffeafe2602a70c56a824204ec010416fef8e4
Remove cilium CNI removal process from install hook
[ { "change_type": "MODIFY", "old_path": "snap/hooks/install", "new_path": "snap/hooks/install", "diff": "@@ -96,17 +96,6 @@ do\nchmod -R o-rwX ${dir}\ndone\n-if ! is_strict || (is_strict && snapctl is-connected network-control)\n- then\n- for link in cni0 cilium_vxlan\n- do\n- if ${SNAP}/sbin/ip link...
Python
Apache License 2.0
canonical/microk8s
Remove cilium CNI removal process from install hook (#3252)
104,109
20.06.2022 17:00:58
-10,800
9d51befb4f89ae3f2c85c49a6fea8e8672aa1c40
Change containerd.sock group so there isn't a need for sudo for ctr
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/apiservice-kicker", "new_path": "microk8s-resources/wrappers/apiservice-kicker", "diff": "@@ -64,6 +64,7 @@ do\nthen\nchmod -R ug+rwX ${SNAP_DATA}/var/kubernetes/backend || true\nchgrp ${group} -R ${SNAP_DATA}/var/kubernetes/backend...
Python
Apache License 2.0
canonical/microk8s
Change containerd.sock group so there isn't a need for sudo for ctr (#3261)
104,143
21.06.2022 12:58:44
-10,800
8d751b1c90bd1e8aaf46e99c3ecd1da5ef5feaa7
fix configure hook not running on old installs
[ { "change_type": "MODIFY", "old_path": "snap/hooks/configure", "new_path": "snap/hooks/configure", "diff": "@@ -4,15 +4,13 @@ set -eux\nsource $SNAP/actions/common/utils.sh\n+if is_strict\n+then\nif [ ! -f \"${SNAP_DATA}/var/lock/installed.lock\" ]\nthen\nexit 0\nfi\n-\n-if is_strict\n-then\n-\nARCH...
Python
Apache License 2.0
canonical/microk8s
fix configure hook not running on old installs (#3263)
104,143
23.06.2022 09:09:33
-10,800
54ea658dc02bfa73b1fc6ff2106cb7b802a4e9ea
Upgrade containerd to 1.6.6 and runc to 1.1.2, use Go 1.18 to build
[ { "change_type": "MODIFY", "old_path": "build-scripts/set-env-variables.sh", "new_path": "build-scripts/set-env-variables.sh", "diff": "@@ -17,10 +17,10 @@ export KNATIVE_SERVING_VERSION=\"${KNATIVE_SERVING_VERSION:-v0.13.0}\"\nexport KNATIVE_EVENTING_VERSION=\"${KNATIVE_EVENTING_VERSION:-v0.13.0}\"...
Python
Apache License 2.0
canonical/microk8s
Upgrade containerd to 1.6.6 and runc to 1.1.2, use Go 1.18 to build (#3262)
104,143
23.06.2022 15:27:33
-10,800
350c89b62c40cd0b03beb5be44b6b67ca4e26929
fix missing image name in export command
[ { "change_type": "MODIFY", "old_path": "scripts/cluster/images.py", "new_path": "scripts/cluster/images.py", "diff": "@@ -52,7 +52,9 @@ def export_images(output: str, images: List[str]):\ntry:\nsubprocess.check_call([CTR, \"image\", \"export\", \"-\", image], stdout=subprocess.DEVNULL)\nexcept subpr...
Python
Apache License 2.0
canonical/microk8s
fix missing image name in export command (#3273)
104,131
27.06.2022 13:55:45
-3,600
e957b07d561433b1cb0eba40d50f68601c4149a4
Check the correct file for AppArmor confinement. Use the legacy interface as a fallback when checking apparmor status ...in order to retain compatibility with older kernels. Documentation: Fixes:
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-containerd-with-args", "new_path": "microk8s-resources/wrappers/run-containerd-with-args", "diff": "@@ -4,9 +4,17 @@ set -ex\nsource $SNAP/actions/common/utils.sh\n# Re-exec outside of apparmor confinement\n-if ! is_strict && [ ...
Python
Apache License 2.0
canonical/microk8s
Check the correct file for AppArmor confinement. (#3172) Use the legacy interface as a fallback when checking apparmor status ...in order to retain compatibility with older kernels. Documentation: https://www.kernel.org/doc/html/latest/admin-guide/LSM/index.html Fixes: https://github.com/canonical/microk8s/...
104,143
04.07.2022 16:17:36
-10,800
f785d3718a5a1a63a6a327c417b1ac100363c3eb
Add GitHub action to update list of images
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/workflows/update-images.yml", "diff": "+name: Update list of images\n+\n+on:\n+ - workflow_dispatch\n+ - schedule:\n+ - cron: \"0 10 * * *\"\n+\n+jobs:\n+ update:\n+ runs-on: ubuntu-latest\n+ strategy:\n+ matrix:\n+ include:\n+ - { branc...
Python
Apache License 2.0
canonical/microk8s
Add GitHub action to update list of images (#3294)
104,143
08.07.2022 14:56:06
-10,800
4eac31ec6930edc30ebd764656836dec21505c1d
Support for post-refresh, remove and reconcile hooks for addons
[ { "change_type": "ADD", "old_path": null, "new_path": "microk8s-resources/default-hooks/reconcile.d/10-cni-restart", "diff": "+#!/bin/bash\n+\n+. \"${SNAP}/actions/common/utils.sh\"\n+\n+KUBECTL=\"${SNAP}/microk8s-kubectl.wrapper\"\n+\n+# Calico reload deployment\n+if ! [ -e \"${SNAP_DATA}/var/lock/...
Python
Apache License 2.0
canonical/microk8s
Support for post-refresh, remove and reconcile hooks for addons (#3307)
104,143
18.07.2022 09:22:35
-10,800
3c26a3a77a6b199ee411aa79c3fbbcca788ff113
update pause container to k8s.gcr.io/pause:3.7
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/default-args/containerd-template.toml", "new_path": "microk8s-resources/default-args/containerd-template.toml", "diff": "@@ -27,7 +27,7 @@ oom_score = 0\nstream_server_address = \"127.0.0.1\"\nstream_server_port = \"0\"\nenable_selinux = fal...
Python
Apache License 2.0
canonical/microk8s
update pause container to k8s.gcr.io/pause:3.7 (#3318)
104,143
18.07.2022 11:47:55
-10,800
c1fa3f5e88277fd59f110b98e4e4a45401ee57f1
Fix printing of available commands from addons
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/microk8s.wrapper", "new_path": "microk8s-resources/wrappers/microk8s.wrapper", "diff": "@@ -13,8 +13,8 @@ function help() {\nplugins=\"$(find ${SNAP_COMMON}/plugins/* 2> /dev/null)\"\nif [ ! -z \"$plugins\" ]; then\necho \"Available...
Python
Apache License 2.0
canonical/microk8s
Fix printing of available commands from addons (#3326)
104,143
19.07.2022 16:07:41
-10,800
9f2d0302669aaa04795d3f6704eb31172d9b3780
minor fixes to update-images workflow
[ { "change_type": "MODIFY", "old_path": ".github/workflows/update-images.yml", "new_path": ".github/workflows/update-images.yml", "diff": "@@ -27,7 +27,7 @@ jobs:\nuses: peter-evans/create-pull-request@v4\nwith:\ncommit-message: update list of images used by ${{ matrix.channel }}\n- title: \"[${{ mat...
Python
Apache License 2.0
canonical/microk8s
minor fixes to update-images workflow (#3333)
104,143
22.07.2022 13:51:15
-10,800
6c08175bce7e36df18d005f215ac1107a537228a
fix etcd build for arm64
[ { "change_type": "MODIFY", "old_path": "build-scripts/components/etcd/build.sh", "new_path": "build-scripts/components/etcd/build.sh", "diff": "export INSTALL=\"${1}\"\nmkdir -p \"${INSTALL}\"\n-GO_LDFLAGS=\"-s -w\" make\n+GO_LDFLAGS=\"-s -w\" GO_BUILD_FLAGS=\"-v\" ./build\nfor bin in etcd etcdctl; ...
Python
Apache License 2.0
canonical/microk8s
fix etcd build for arm64 (#3342)
104,143
25.07.2022 22:53:34
-10,800
863bfcf3aabfb8f589228e5961c3025c59eac7cf
Follow improvements for snapcraft build pipeline
[ { "change_type": "DELETE", "old_path": "build-scripts/addon-repositories.sh", "new_path": null, "diff": "-#!/bin/bash\n-\n-ADDONS_REPOS=\"\n-core,${CORE_ADDONS_REPO:-https://github.com/canonical/microk8s-core-addons},${CORE_ADDONS_REPO_BRANCH:-main}\n-community,${COMMUNITY_ADDONS_REPO:-https://githu...
Python
Apache License 2.0
canonical/microk8s
Follow improvements for snapcraft build pipeline (#3344)
104,143
27.07.2022 08:58:21
-10,800
3c47effb546733f5bac391aff7dcb29f79c8a88c
Use API server proxy from cluster-agent and remove traefik
[ { "change_type": "DELETE", "old_path": "build-scripts/components/traefik/build.sh", "new_path": null, "diff": "-#!/bin/bash -x\n-\n-INSTALL=\"${1}/bin\"\n-mkdir -p \"${INSTALL}\"\n-\n-export PATH=\"${PATH}:$(go env GOPATH)/bin\"\n-GO111MODULE=off go get github.com/containous/go-bindata/...\n-\n-go g...
Python
Apache License 2.0
canonical/microk8s
Use API server proxy from cluster-agent and remove traefik (#3347)
104,143
29.07.2022 14:59:54
-10,800
51b7879032eab50097ae14d8119c942dd8e73146
clean up some hardcoded paths
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -409,19 +409,19 @@ get_ips() {\n}\ngen_server_cert() (\n- export OPENSSL_CONF=\"/snap/microk8s/current/etc/ssl/openssl.cnf\"\n+ export OPENSSL_CO...
Python
Apache License 2.0
canonical/microk8s
clean up some hardcoded paths (#3349)
104,143
02.08.2022 15:51:55
-10,800
016f33c82a7d3f23c6a6adb37694cc23aff17602
update flanneld to v0.15.1 and remove unused backends
[ { "change_type": "MODIFY", "old_path": "build-scripts/components/flanneld/build.sh", "new_path": "build-scripts/components/flanneld/build.sh", "diff": "INSTALL=\"${1}/opt/cni/bin\"\nmkdir -p \"${INSTALL}\"\n-# TODO(neoaggelos): update to a non-ancient version of flanneld that we can actually build\n...
Python
Apache License 2.0
canonical/microk8s
update flanneld to v0.15.1 and remove unused backends (#3355)
104,143
05.08.2022 12:16:14
-10,800
30775e66bd8f18583629f2d1a1b0ecf02ce23bdf
export LC_ALL and LANG to fix issues with Click
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/apiservice-kicker", "new_path": "microk8s-resources/wrappers/apiservice-kicker", "diff": "@@ -6,6 +6,8 @@ export PATH=\"$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH\"\nARCH=\"$($SNAP/bin/uname -m)\"\nexport LD_LIBRARY_PAT...
Python
Apache License 2.0
canonical/microk8s
export LC_ALL and LANG to fix issues with Click (#3372)
104,143
05.08.2022 15:47:23
-10,800
18e8709e87ac320fbdf043eda68fdee6644389be
Cleanup stale references to removed services
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -225,16 +225,11 @@ restart_service() {\n# argument $1 is the service name\nif [ \"$1\" == \"apiserver\" ] || [ \"$1\" == \"proxy\" ] || [ \"$1\" ...
Python
Apache License 2.0
canonical/microk8s
Cleanup stale references to removed services (#3365)
104,143
22.08.2022 12:20:06
-10,800
85970afa27ee224822c19d9b13fa371d4e88ab3a
Fix typo in apiserver-proxy entrypoint
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-apiserver-proxy-with-args", "new_path": "microk8s-resources/wrappers/run-apiserver-proxy-with-args", "diff": "@@ -7,7 +7,7 @@ export LD_LIBRARY_PATH=\"$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/\nsource $SNAP/action...
Python
Apache License 2.0
canonical/microk8s
Fix typo in apiserver-proxy entrypoint (#3398)
104,143
22.08.2022 18:30:44
-10,800
f2b2574d0841c7eced2e0e0c219d8097b7067bf6
Cleanup reported Kubernetes version
[ { "change_type": "MODIFY", "old_path": "build-scripts/build-component.sh", "new_path": "build-scripts/build-component.sh", "diff": "@@ -41,6 +41,11 @@ fi\ncd \"${COMPONENT_BUILD_DIRECTORY}\"\ngit config user.name \"MicroK8s builder bot\"\ngit config user.email \"microk8s-builder-bot@canonical.com\"\...
Python
Apache License 2.0
canonical/microk8s
Cleanup reported Kubernetes version (#3397)
104,143
30.08.2022 10:46:20
-10,800
314d845827ede0159015e6a68f64d1b775c37bca
Improve check for cgroup2 availability The cgroup2 mount may sometimes appear as: ``` $ mount -t cgroup2 none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime) ```
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-containerd-with-args", "new_path": "microk8s-resources/wrappers/run-containerd-with-args", "diff": "@@ -53,7 +53,7 @@ RUNTIME=\"runc\"\nRUNTIME_TYPE=\"io.containerd.runc.v1\"\nSNAPSHOTTER=$(snapshotter)\n-if mount | grep -q 'cgr...
Python
Apache License 2.0
canonical/microk8s
Improve check for cgroup2 availability (#3413) The cgroup2 mount may sometimes appear as: ``` $ mount -t cgroup2 none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime) ```
104,143
07.09.2022 17:48:54
-10,800
7949ab731a61c470d157230954002d28d93f4d2b
Install tests under `/root` to fix strict confinement issues
[ { "change_type": "MODIFY", "old_path": "tests/test-distro.sh", "new_path": "tests/test-distro.sh", "diff": "@@ -25,10 +25,10 @@ function create_machine() {\n# Allow for the machine to boot and get an IP\nsleep 20\n- tar cf - ./tests | lxc exec $NAME -- tar xvf - -C /var/tmp\n+ tar cf - ./tests | lxc...
Python
Apache License 2.0
canonical/microk8s
Install tests under `/root` to fix strict confinement issues (#3425)
104,143
13.09.2022 14:28:08
-10,800
cffe397dd1c2c75b6e79fe1c08da628379b068f8
Ignore --hostname-override from kubelet arguments when joining
[ { "change_type": "MODIFY", "old_path": "scripts/wrappers/join.py", "new_path": "scripts/wrappers/join.py", "diff": "@@ -559,6 +559,16 @@ def update_kubelet_node_ip(args_string, hostname_override):\nset_arg(\"--node-ip\", hostname_override, \"kubelet\")\n+def update_kubelet_hostname_override(args_str...
Python
Apache License 2.0
canonical/microk8s
Ignore --hostname-override from kubelet arguments when joining (#3434)
104,143
13.09.2022 14:54:28
-10,800
a3d11ef5771e67bff6b9d1e037cff005b487dc03
Ignore --hostname-override for control plane and etcd nodes
[ { "change_type": "MODIFY", "old_path": "scripts/wrappers/join.py", "new_path": "scripts/wrappers/join.py", "diff": "@@ -873,6 +873,7 @@ def join_dqlite_master_node(info, master_ip, token):\ncreate_admin_kubeconfig(info[\"ca\"], info[\"admin_token\"])\nstore_base_kubelet_args(info[\"kubelet_args\"])\...
Python
Apache License 2.0
canonical/microk8s
Ignore --hostname-override for control plane and etcd nodes (#3441)
104,143
14.09.2022 13:25:33
-10,800
3360ce2dc695dc0f72a0807bd34cca6ade5b05b3
Add test for airgap deployments with offline registry
[ { "change_type": "MODIFY", "old_path": "tests/lxc/install-deps/images_archlinux", "new_path": "tests/lxc/install-deps/images_archlinux", "diff": "@@ -20,13 +20,13 @@ pacman -S --noconfirm python\npacman -S --noconfirm docker\nsudo systemctl enable --now docker.service\necho \"127.0.0.1 localhost\" |...
Python
Apache License 2.0
canonical/microk8s
Add test for airgap deployments with offline registry (#3437)
104,143
23.09.2022 13:28:16
-10,800
c7a718893563a76c358cac8ab657efaac8825258
Do not fail of credentials directory already exists This might happen if Juju is installed, due to the content interface
[ { "change_type": "MODIFY", "old_path": "snap/hooks/install", "new_path": "snap/hooks/install", "diff": "@@ -35,7 +35,7 @@ cp ${SNAP}/certs/csr.conf.template ${SNAP_DATA}/certs/csr.conf.template\nproduce_certs\nrm -rf .srl\n-mkdir ${SNAP_DATA}/credentials\n+mkdir -p ${SNAP_DATA}/credentials\nca_data=...
Python
Apache License 2.0
canonical/microk8s
Do not fail of credentials directory already exists (#3456) This might happen if Juju is installed, due to the content interface
104,143
28.09.2022 13:25:06
-10,800
ec113e18216e5c97642f29221fb7c829d3f53fc5
(1.26+) update etcd to v3.5.5
[ { "change_type": "MODIFY", "old_path": "build-scripts/components/etcd/build.sh", "new_path": "build-scripts/components/etcd/build.sh", "diff": "export INSTALL=\"${1}\"\nmkdir -p \"${INSTALL}\"\n-GO_LDFLAGS=\"-s -w\" GO_BUILD_FLAGS=\"-v\" ./build\n+GO_LDFLAGS=\"-s -w\" GO_BUILD_FLAGS=\"-v\" ./build.s...
Python
Apache License 2.0
canonical/microk8s
(1.26+) update etcd to v3.5.5 (#3463)
104,143
06.10.2022 13:22:55
-10,800
707f21489deb34940330a3ffcbc88d18bcab97ec
Auto-configure kubelet resolv.conf file with upstream nameservers
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-kubelite-with-args", "new_path": "microk8s-resources/wrappers/run-kubelite-with-args", "diff": "@@ -84,6 +84,17 @@ then\nfi\nfi\n+# Configure host resolv.conf file with non-loopback upstream nameservers\n+resolv_conf=\"$(cat $SN...
Python
Apache License 2.0
canonical/microk8s
Auto-configure kubelet resolv.conf file with upstream nameservers (#3487)
104,143
13.10.2022 14:19:04
-10,800
0746f702d66fd5876c12c83ce9c3952923c23877
Remove unused bpf mounts on Calico pods
[ { "change_type": "MODIFY", "old_path": "docs/build.md", "new_path": "docs/build.md", "diff": "@@ -117,6 +117,21 @@ The `calico.yaml` manifest is a slightly modified version of:\n\"nodename_file_optional\": true,\n```\n- The `mount-bpffs` pod is commented out. This disables eBPF support but allows th...
Python
Apache License 2.0
canonical/microk8s
Remove unused bpf mounts on Calico pods (#3505)
104,109
14.10.2022 08:48:19
-10,800
cb1324b61341454d5d25f8d28b2b5b883246e13e
Patch for CVE-2007-4559
[ { "change_type": "MODIFY", "old_path": "scripts/wrappers/common/utils.py", "new_path": "scripts/wrappers/common/utils.py", "diff": "@@ -502,3 +502,23 @@ def get_status(available_addons, isReady):\ndisabled.append(addon)\nreturn enabled, disabled\n+\n+\n+def is_within_directory(directory, target):\n+...
Python
Apache License 2.0
canonical/microk8s
Patch for CVE-2007-4559 (#3507)
104,107
20.10.2022 11:23:06
-19,080
2211774ddd7861ca094c90f6ff7c009bbab6895b
Fix cgroups for newer kernel versions For some newer cgroups, rather than `cgroup/memory` or `cgroup/unified` configurations, there is a unified `cgroup` version 2. Matching with the newer string also takes care of the old unified cgroup string in the older kernels.
[ { "change_type": "MODIFY", "old_path": "scripts/inspect.sh", "new_path": "scripts/inspect.sh", "diff": "@@ -267,7 +267,7 @@ function suggest_fixes {\nfi\nif ! grep -q 'cgroup/memory' /proc/self/mountinfo; then\n- if ! grep -q 'cgroup/unified.* cgroup2 ' /proc/self/mountinfo; then\n+ if ! grep -q 'cg...
Python
Apache License 2.0
canonical/microk8s
Fix cgroups for newer kernel versions (#3518) For some newer cgroups, rather than `cgroup/memory` or `cgroup/unified` configurations, there is a unified `cgroup` version 2. Matching with the newer string also takes care of the old unified cgroup string in the older kernels. Signed-off-by: Sachin Kumar Singh <sac...
104,109
27.10.2022 13:10:48
-10,800
90a49935d000c3976865cc55b54cb0a144228ac6
EKS-D integration tests to main
[ { "change_type": "MODIFY", "old_path": ".github/workflows/check-unit-tests.yml", "new_path": ".github/workflows/check-unit-tests.yml", "diff": "@@ -16,7 +16,7 @@ jobs:\nrun: |\nsudo apt-get update\nsudo apt-get install tox --fix-missing\n- sudo pip3 install -U pytest sh\n+ sudo pip3 install -U pytes...
Python
Apache License 2.0
canonical/microk8s
EKS-D integration tests to main (#3526)
104,143
09.11.2022 16:06:05
-7,200
5085639bf48b128c828d0669d752f7422eaf6ee6
Upgrade to Calico 3.23.5
[ { "change_type": "MODIFY", "old_path": "upgrade-scripts/000-switch-to-calico/resources/calico.yaml", "new_path": "upgrade-scripts/000-switch-to-calico/resources/calico.yaml", "diff": "@@ -4310,7 +4310,7 @@ spec:\n# It can be deleted if this is a fresh installation, or if you have already\n# upgraded...
Python
Apache License 2.0
canonical/microk8s
Upgrade to Calico 3.23.5 (#3548)
104,143
12.11.2022 12:50:58
-7,200
da9381ff0fe95e37424c4d7ab6be1d6cdc82131d
update images for all active branches
[ { "change_type": "MODIFY", "old_path": ".github/workflows/update-images.yml", "new_path": ".github/workflows/update-images.yml", "diff": "@@ -11,10 +11,18 @@ jobs:\nstrategy:\nmatrix:\ninclude:\n+ # Latest branches\n- { branch: master, channel: latest/edge }\n+ # Stable branches\n+ - { branch: 1.25,...
Python
Apache License 2.0
canonical/microk8s
update images for all active branches (#3556)
104,143
14.11.2022 14:17:09
-7,200
97954bd1e0b562a73c7f3d197f1c2788ac0a7622
Remove 1.22-eksd branch from auto image updates
[ { "change_type": "MODIFY", "old_path": ".github/workflows/update-images.yml", "new_path": ".github/workflows/update-images.yml", "diff": "@@ -22,7 +22,6 @@ jobs:\n- { branch: 1.25-strict, channel: 1.25-strict }\n# EKSD branches\n- { branch: 1.23-eksd, channel: 1.23-eksd }\n- - { branch: 1.22-eksd, c...
Python
Apache License 2.0
canonical/microk8s
Remove 1.22-eksd branch from auto image updates
104,143
14.11.2022 15:37:48
-7,200
ee02656c1b892656aa31d36251855e51c02fd50b
fix kubeconfig for worker node services * fix kubeconfig for worker node services previously, these paths included snap revision numbers, which would break after two snap refreshes * fix kubeconfig for existing clusters
[ { "change_type": "MODIFY", "old_path": "scripts/wrappers/join.py", "new_path": "scripts/wrappers/join.py", "diff": "@@ -256,9 +256,13 @@ def get_client_cert(master_ip, master_port, fname, token, username, group=None):\ninfo = \"/CN={}\".format(username)\nif group:\ninfo = \"{}/O={}\".format(info, gr...
Python
Apache License 2.0
canonical/microk8s
fix kubeconfig for worker node services (#3554) * fix kubeconfig for worker node services - previously, these paths included snap revision numbers, which would break after two snap refreshes * fix kubeconfig for existing clusters
104,143
18.11.2022 17:28:01
-7,200
ded9d647072fab340b4205fcf121f8866428181d
1.26 removed kubelet --log-dir argument
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/default-args/kubelet", "new_path": "microk8s-resources/default-args/kubelet", "diff": "--client-ca-file=${SNAP_DATA}/certs/ca.crt\n--anonymous-auth=false\n--root-dir=${SNAP_COMMON}/var/lib/kubelet\n---log-dir=${SNAP_COMMON}/var/log\n--fail-s...
Python
Apache License 2.0
canonical/microk8s
1.26 removed kubelet --log-dir argument (#3571)
104,100
22.11.2022 22:20:20
-39,600
68b8a76c6c3f36663d256184c37cfef3659c2c17
remove -f flag from suggested chown cmd Fixes
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -18,7 +18,7 @@ exit_if_no_permissions() {\necho \"You can either try again with sudo or add the user $USER to the '${group}' group:\" >&2\necho \...
Python
Apache License 2.0
canonical/microk8s
remove -f flag from suggested chown cmd (#3573) Fixes #3534
104,143
22.11.2022 22:28:33
-7,200
43cd791f6b554418082967f3e99cb1659700ac7a
Fix grep invocation
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-kubelite-with-args", "new_path": "microk8s-resources/wrappers/run-kubelite-with-args", "diff": "@@ -85,7 +85,7 @@ then\nfi\n# Configure host resolv.conf file with non-loopback upstream nameservers\n-resolv_conf=\"$(cat $SNAP_DAT...
Python
Apache License 2.0
canonical/microk8s
Fix grep invocation (#3570)
104,143
24.11.2022 15:15:16
-7,200
12b5df570f8c665aa819e65b06a355d10fdbd835
Use bundled addons for update-images.sh
[ { "change_type": "MODIFY", "old_path": "build-scripts/update-images.sh", "new_path": "build-scripts/update-images.sh", "diff": "sudo snap install microk8s --classic --channel $1\nsudo microk8s status --wait-ready\n-sudo microk8s addons repo add core https://github.com/canonical/microk8s-core-addons ...
Python
Apache License 2.0
canonical/microk8s
Use bundled addons for update-images.sh (#3596)
104,143
19.12.2022 12:49:39
-7,200
fe5ff7276d56fff4415d01b17f2b169849c0a1e1
Ensure cp nodes upgraded to 1.25 don't start apiserver proxy
[ { "change_type": "MODIFY", "old_path": "snap/hooks/configure", "new_path": "snap/hooks/configure", "diff": "@@ -160,6 +160,12 @@ then\ncp -r ${SNAP}/default-args/apiserver-proxy ${SNAP_DATA}/args/\nfi\n+# (1.24 -> 1.25) migrate from traefik to apiserver-proxy\n+if [ -e ${SNAP_DATA}/var/lock/no-traef...
Python
Apache License 2.0
canonical/microk8s
Ensure cp nodes upgraded to 1.25 don't start apiserver proxy (#3632)
104,109
12.01.2023 13:52:00
-10,800
68b80b3b7c2694714fa9d0c655f286d2667e5657
Added the cloud formation template and updated tests
[ { "change_type": "MODIFY", "old_path": "tests/test-distro.sh", "new_path": "tests/test-distro.sh", "diff": "@@ -65,17 +65,9 @@ fi\napt-get install python3-pip -y\npip3 install -U pytest requests pyyaml sh\napt-get install awscli -y\n+apt-get install jq -y\nsnap install kubectl --classic\nARCH=$(unam...
Python
Apache License 2.0
canonical/microk8s
Added the cloud formation template and updated tests (#3664)
104,135
13.01.2023 08:05:34
0
60039eee3cf96416389a2fe863ca526c4e3e0d58
Update microk8s version to 1.26 for homebrew formula Summary References
[ { "change_type": "MODIFY", "old_path": "installer/common/definitions.py", "new_path": "installer/common/definitions.py", "diff": "@@ -28,7 +28,7 @@ DEFAULT_CORES: int = 2\nDEFAULT_MEMORY_GB: int = 4\nDEFAULT_DISK_GB: int = 50\nDEFAULT_ASSUME: bool = False\n-DEFAULT_CHANNEL: str = \"1.22/stable\"\n+D...
Python
Apache License 2.0
canonical/microk8s
Update microk8s version to 1.26 for homebrew formula (#3645) Summary References #3628
104,109
17.01.2023 17:52:56
-10,800
215df0e91c65598d516ad13ad5f90f153344da45
Upgrade from core18 to core20
[ { "change_type": "ADD", "old_path": null, "new_path": "build-scripts/components/python/requirements.txt", "diff": "+PyYAML==5.3.1\n+netifaces==0.10.9\n+jsonschema==4.0.0\n" }, { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-r...
Python
Apache License 2.0
canonical/microk8s
Upgrade from core18 to core20 (#3583)
104,109
19.01.2023 08:44:19
-10,800
7979e70a779da92802cfc5c46172bc11670ab83c
Closing upgrade path gap with strict
[ { "change_type": "MODIFY", "old_path": "tests/test-upgrade-path.py", "new_path": "tests/test-upgrade-path.py", "diff": "@@ -5,6 +5,7 @@ import requests\nfrom utils import (\nwait_for_installation,\nrun_until_success,\n+ is_strict,\n)\nupgrade_from = os.environ.get(\"UPGRADE_MICROK8S_FROM\", \"beta\"...
Python
Apache License 2.0
canonical/microk8s
Closing upgrade path gap with strict (#3674)
104,143
19.01.2023 13:00:01
-7,200
152c7e28af80201fe724075b0736243fcab1ea71
fix kubectl invocations in the microk8s installer
[ { "change_type": "MODIFY", "old_path": "installer/common/auxiliary.py", "new_path": "installer/common/auxiliary.py", "diff": "@@ -9,6 +9,7 @@ from os.path import realpath\nfrom shutil import disk_usage\nfrom .file_utils import get_kubeconfig_path, get_kubectl_directory\n+from . import definitions\nl...
Python
Apache License 2.0
canonical/microk8s
fix kubectl invocations in the microk8s installer (#3679)
104,143
19.01.2023 14:45:31
-7,200
415db58d00f39ab5640b4c628cac55faf7165657
Bump k8s-dqlite to v1.1.1 to support disk-mode, with deps Update dqlite to v1.14.0 (needed >= 1.13.0 for disk mode) Update go-dqlite to v1.11.6 (needed for go bindings of disk mode) Update raft to v0.17.1 (needed for dqlite)
[ { "change_type": "MODIFY", "old_path": "build-scripts/components/dqlite-client/version.sh", "new_path": "build-scripts/components/dqlite-client/version.sh", "diff": "#!/bin/bash\n-echo \"v1.11.1\"\n+echo \"v1.11.6\"\n" }, { "change_type": "MODIFY", "old_path": "build-scripts/components/d...
Python
Apache License 2.0
canonical/microk8s
Bump k8s-dqlite to v1.1.1 to support disk-mode, with deps (#3673) - Update dqlite to v1.14.0 (needed >= 1.13.0 for disk mode) - Update go-dqlite to v1.11.6 (needed for go bindings of disk mode) - Update raft to v0.17.1 (needed for dqlite)
104,143
20.01.2023 08:42:48
-7,200
2846118b53dcc1ab3d5e95f1a06cd30652dca876
check for uppercase letters in the inspect script
[ { "change_type": "MODIFY", "old_path": "scripts/inspect.sh", "new_path": "scripts/inspect.sh", "diff": "@@ -418,6 +418,17 @@ function check_low_memory_guard {\nfi\n}\n+function check_hostname {\n+ HOST=$(hostname)\n+ if echo \"${HOST}\" | grep -q \"[A-Z]\" 2> /dev/null\n+ then\n+ printf -- \"\\033[0...
Python
Apache License 2.0
canonical/microk8s
check for uppercase letters in the inspect script (#3681)
104,143
20.01.2023 10:14:07
-7,200
a560168de7bb0edeac6328b2f1f04ea687adfb07
bump default install version to 1.26
[ { "change_type": "MODIFY", "old_path": "installer/windows/microk8s.nsi", "new_path": "installer/windows/microk8s.nsi", "diff": "@@ -162,7 +162,7 @@ Function \"ConfigureVm\"\n${NSD_CreateLabel} 42% 50 50u 10u \"Snap Track\"\nPop $VmConfigureDialogTrackLabel\n- ${NSD_CreateText} 42% 67.5 50u 10u \"1.2...
Python
Apache License 2.0
canonical/microk8s
bump default install version to 1.26 (#3683)
104,107
26.01.2023 20:59:43
-19,080
8c8ce290914e7b0ab991ae29006a0ff92ee53afa
Add arguments sanitisation when starting services
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -220,6 +220,182 @@ skip_opt_in_config() {\n}\n+remove_args() {\n+ # Removes arguments from respective service\n+ # argument $1: the service\n+ # ...
Python
Apache License 2.0
canonical/microk8s
Add arguments sanitisation when starting services (#3690)
104,143
31.01.2023 07:15:50
-7,200
5b8c4ef88f1c6281b548eefc1756a8472f9e26c9
feature: microk8s init configurations During install time, with a .yaml config file in a well-known location At any point, using snap set microk8s config="$(cat config.yaml)" Default configuration that enables the DNS addon
[ { "change_type": "ADD", "old_path": null, "new_path": "microk8s-resources/microk8s.default.yaml", "diff": "+# Default launch configuration for MicroK8s.\n+---\n+version: 0.1.0\n+addons:\n+ - name: dns\n" }, { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/apiservice-ki...
Python
Apache License 2.0
canonical/microk8s
feature: microk8s init configurations (#3709) - During install time, with a .yaml config file in a well-known location - At any point, using snap set microk8s config="$(cat config.yaml)" - Default configuration that enables the DNS addon
104,109
01.02.2023 14:06:41
-10,800
34412f66e0ca456215163b26adeef3f65251cf13
Fixed reconciliation of offloading patch for calico
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/default-hooks/reconcile.d/10-cni-restart", "new_path": "microk8s-resources/default-hooks/reconcile.d/10-cni-restart", "diff": "@@ -12,12 +12,6 @@ if ! [ -e \"${SNAP_DATA}/var/lock/no-cni-reload\" ] &&\n[ -e \"${SNAP_DATA}/var/lock/no-flannel...
Python
Apache License 2.0
canonical/microk8s
Fixed reconciliation of offloading patch for calico (#3705)
104,143
02.02.2023 21:17:19
-7,200
eb59d08f1b24c9e5c4abce9522a72cf1f5420ff1
fixup if syntax
[ { "change_type": "MODIFY", "old_path": "snap/hooks/install", "new_path": "snap/hooks/install", "diff": "@@ -43,7 +43,7 @@ for config_file in \"$SNAP_USER_COMMON/.microk8s.yaml\" \"$SNAP_COMMON/.microk8s.ya\nif [ -f \"${config_file}\" ]; then\necho \"Found config file ${config_file}, will use to init...
Python
Apache License 2.0
canonical/microk8s
fixup if syntax (#3724)
104,143
02.02.2023 21:43:18
-7,200
693561d57ede0c26fb478a85e508ef775a63f50c
Prevent force-restart of Calico pods right after install
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/default-hooks/reconcile.d/90-calico-apply", "new_path": "microk8s-resources/default-hooks/reconcile.d/90-calico-apply", "diff": "@@ -12,5 +12,8 @@ then\nif (is_apiserver_ready) && \"${KUBECTL}\" apply -f \"${SNAP_DATA}/args/cni-network/cni.y...
Python
Apache License 2.0
canonical/microk8s
Prevent force-restart of Calico pods right after install (#3725)
104,143
03.02.2023 12:25:31
-7,200
882d32adc8f9a5cf72a96d5c86162410aec7be44
Support extra SANs using init configurations
[ { "change_type": "MODIFY", "old_path": "snap/hooks/install", "new_path": "snap/hooks/install", "diff": "@@ -27,6 +27,11 @@ else\necho \"\\`/var/lib/kubelet\\` already exists. Will not be linking to $SNAP_COMMON\"\nfi\n+# Create the certificates\n+mkdir ${SNAP_DATA}/certs\n+# Allow the ability to add...
Python
Apache License 2.0
canonical/microk8s
Support extra SANs using init configurations (#3726)
104,107
07.02.2023 12:53:46
-19,080
3568bd32e9b9a97d41667037ff884ccca088ac15
remove air-gapped registry when offline tests finishes
[ { "change_type": "MODIFY", "old_path": "tests/test-airgap.sh", "new_path": "tests/test-airgap.sh", "diff": "@@ -98,5 +98,5 @@ lxc exec airgap-test -- bash -c 'sudo microk8s enable hostpath-storage dns'\nairgap_wait_for_pods airgap-test\necho \"Cleaning up\"\n-# lxc rm airgap-registry --force\n+lxc r...
Python
Apache License 2.0
canonical/microk8s
remove air-gapped registry when offline tests finishes (#3716)
104,071
07.02.2023 20:01:46
-3,600
aed47aa187e7b7e0ea38b24f309f188e8e148779
Increase daemon-containerd timeout and order daemon-kubelite after it Fixes
[ { "change_type": "MODIFY", "old_path": "snap/snapcraft.yaml", "new_path": "snap/snapcraft.yaml", "diff": "@@ -338,9 +338,11 @@ apps:\n# https://forum.snapcraft.io/t/process-lifecycle-on-snap-refresh/140/37\nstop-mode: sigterm\nrestart-condition: always\n+ start-timeout: 5m\ndaemon-kubelite:\ncommand...
Python
Apache License 2.0
canonical/microk8s
Increase daemon-containerd timeout and order daemon-kubelite after it (#3685) Fixes #3684 Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
104,109
08.02.2023 16:23:01
-10,800
73661155b2ab6772cc1d53a121acc436d8fe46c2
Update community tests to point to a folder
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build-snap.yml", "new_path": ".github/workflows/build-snap.yml", "diff": "@@ -118,7 +118,7 @@ jobs:\nset -x\nsudo snap install build/microk8s.snap --classic --dangerous\nsudo microk8s enable community\n- sudo -E bash -c \"cd /var/snap/microk8...
Python
Apache License 2.0
canonical/microk8s
Update community tests to point to a folder (#3739)
104,143
08.02.2023 16:19:16
-7,200
38c7b37c3220f92df7c5dec13136dc51ac97ea87
microk8s refresh-certs use new csr.conf.template
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -594,6 +594,11 @@ gen_proxy_client_cert() (\n${SNAP}/usr/bin/openssl x509 -req -sha256 -in ${SNAP_DATA}/certs/front-proxy-client.csr -CA ${SNAP_D...
Python
Apache License 2.0
canonical/microk8s
microk8s refresh-certs use new csr.conf.template (#3740)
104,143
09.02.2023 17:53:45
-7,200
cb6eb4626d60826495aa6714aeeeb42db9e2de63
Lowercase hostname for kubernetes RBAC
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -794,7 +794,7 @@ function update_configs {\n$SNAP/bin/sed -i 's/PASSWORD/'\"${admin_token}\"'/g' ${SNAP_DATA}/credentials/client.config\n# Create...
Python
Apache License 2.0
canonical/microk8s
Lowercase hostname for kubernetes RBAC (#3731)
104,159
10.02.2023 04:39:09
18,000
87d5bf831a7ea99a26eec905858a095b2eb78ae0
Build libdqlite and libraft with debuginfo
[ { "change_type": "MODIFY", "old_path": "build-scripts/components/dqlite/build.sh", "new_path": "build-scripts/components/dqlite/build.sh", "diff": "@@ -11,7 +11,7 @@ export SQLITE_LIBS=\"-L${SNAPCRAFT_STAGE}/lib -lsqlite3\"\nexport RAFT_CFLAGS=\"-I${SNAPCRAFT_STAGE}/usr/include\"\nexport RAFT_LIBS=\...
Python
Apache License 2.0
canonical/microk8s
Build libdqlite and libraft with debuginfo (#3750) Signed-off-by: Cole Miller <cole.miller@canonical.com>
171,116
27.09.2019 15:57:59
-10,800
daa474814cfcd35c9ad4f979ebe54e7f98f98a81
Considering target morphs when splitting a mesh
[ { "change_type": "MODIFY", "old_path": "packages/split/src/split.ts", "new_path": "packages/split/src/split.ts", "diff": "@@ -11,13 +11,22 @@ const split = function (container: GLTFContainer, meshes: Array<string>): GLTFCo\n// Group bufferviews by mesh.\njson.meshes.forEach((mesh) => {\nif (meshes.i...
TypeScript
MIT License
donmccurdy/gltf-transform
Considering target morphs when splitting a mesh
171,116
01.10.2019 17:04:10
-10,800
da17022cd79fa10fd364ab3a52b3ad65fe928587
Fixed buffer view removing
[ { "change_type": "MODIFY", "old_path": "packages/core/src/util.ts", "new_path": "packages/core/src/util.ts", "diff": "@@ -350,9 +350,9 @@ class GLTFUtil {\nconst buffer = container.json.buffers[bufferView.buffer];\nbuffer.byteLength -= bufferView.byteLength;\n- container.json.bufferViews.forEach((bu...
TypeScript
MIT License
donmccurdy/gltf-transform
Fixed buffer view removing
171,116
03.10.2019 16:05:02
-10,800
b82ec295f65c0f67d93e5df16691343a4c355890
Fixed splitting for zero accessor index
[ { "change_type": "MODIFY", "old_path": "packages/split/src/split.ts", "new_path": "packages/split/src/split.ts", "diff": "@@ -13,7 +13,7 @@ const split = function (container: GLTFContainer, meshes: Array<string>): GLTFCo\nif (meshes.indexOf(mesh.name) === -1) return;\nmesh.primitives.forEach((primit...
TypeScript
MIT License
donmccurdy/gltf-transform
Fixed splitting for zero accessor index
171,116
03.10.2019 18:12:39
-10,800
26ad478b5b24928cc25b145f8c7d65fadf4922f2
Fixed test todo
[ { "change_type": "MODIFY", "old_path": "packages/split/test/test.js", "new_path": "packages/split/test/test.js", "diff": "@@ -14,12 +14,11 @@ test('@gltf-transform/split', t => {\nt.equal(container.json.buffers.length, 1, 'initialized with one buffer');\nsplit(container, ['CubeA', 'CubeB']);\n- // T...
TypeScript
MIT License
donmccurdy/gltf-transform
Fixed test todo
171,123
24.09.2020 08:50:27
-3,600
749d54bb269b4ab7d8654ded793811669519593a
images/buffers tags may not be specified in json accoring to spec, avoid direct access
[ { "change_type": "MODIFY", "old_path": "packages/core/src/io/web-io.ts", "new_path": "packages/core/src/io/web-io.ts", "diff": "@@ -66,7 +66,9 @@ export class WebIO extends PlatformIO {\n.then((response) => response.json())\n.then((json: GLTF.IGLTF) => {\njsonDoc.json = json;\n- const pendingResourc...
TypeScript
MIT License
donmccurdy/gltf-transform
- images/buffers tags may not be specified in json accoring to spec, avoid direct access
171,121
20.02.2021 21:44:31
18,000
ce4934df5f7178c6a39e49db5e9fcfa18c3d98a3
[core] - don't include optional identity values in node output
[ { "change_type": "MODIFY", "old_path": "packages/core/src/io/writer.ts", "new_path": "packages/core/src/io/writer.ts", "diff": "@@ -4,7 +4,7 @@ import { Link } from '../graph';\nimport { JSONDocument } from '../json-document';\nimport { Accessor, AnimationSampler, AttributeLink, Camera, IndexLink, M...
TypeScript
MIT License
donmccurdy/gltf-transform
[core] - don't include optional identity values in node output
171,113
19.03.2021 14:49:32
-3,600
4cfe936bdbb2e14d12aace3794a41a3c36aa09b7
[core] Fix missing default scene from document root. The `scene` field at the root of the document is part of the glTF specs.
[ { "change_type": "MODIFY", "old_path": "packages/core/src/document.ts", "new_path": "packages/core/src/document.ts", "diff": "@@ -153,6 +153,9 @@ export class Document {\nthisProp.copy(otherProp, resolve);\n}\n+ // 5. Copy default scene\n+ this.setDefaultScene(other.getRoot().getDefaultScene());\n+\...
TypeScript
MIT License
donmccurdy/gltf-transform
[core] Fix missing default scene from document root. The `scene` field at the root of the document is part of the glTF specs.
171,113
22.03.2021 09:50:00
-3,600
019880e3d40878f48ea3c6ec44b92c77a51058af
Change visibility of setDefaultScene plus fix tests.
[ { "change_type": "MODIFY", "old_path": "packages/core/src/document.ts", "new_path": "packages/core/src/document.ts", "diff": "@@ -153,9 +153,6 @@ export class Document {\nthisProp.copy(otherProp, resolve);\n}\n- // 5. Copy default scene\n- this.setDefaultScene(other.getRoot().getDefaultScene());\n-\...
TypeScript
MIT License
donmccurdy/gltf-transform
Change visibility of setDefaultScene plus fix tests.
171,120
25.03.2022 22:40:39
25,200
ac39b89acadaac4e3b6409d659a96d5c0a517daf
Parallelize compression (~4x faster) Uses p-limit for a concurrency pool Read files async when doing texture compression. Make the number of concurrent toktx instances a command-line argument. Includes fixes
[ { "change_type": "MODIFY", "old_path": "packages/cli/package.json", "new_path": "packages/cli/package.json", "diff": "\"minimatch\": \"^5.0.0\",\n\"node-fetch\": \"^2.6.6\",\n\"node-gzip\": \"^1.1.2\",\n+ \"p-limit\": \"^3.1.0\",\n\"semver\": \"^7.3.5\",\n\"spdx-correct\": \"^3.1.1\",\n\"tmp\": \"^0...
TypeScript
MIT License
donmccurdy/gltf-transform
Parallelize compression (~4x faster) Uses p-limit for a concurrency pool Read files async when doing texture compression. Make the number of concurrent toktx instances a command-line argument. Includes fixes Co-authored-by: Don McCurdy <dm@donmccurdy.com>
272,206
06.01.2017 23:58:23
-3,600
bd226cb73a81814ab58e22e9bb90daa43ce49e8d
Extend the list of signal traps to ignore
[ { "change_type": "MODIFY", "old_path": "tool/planet/main.go", "new_path": "tool/planet/main.go", "diff": "@@ -482,24 +482,37 @@ func findRootfs() (string, error) {\nreturn rootfsAbs, nil\n}\n-// setupSignalHandlers sets up a handler to interrupt SIGTERM and SIGINT\n-// allowing for a graceful shutdo...
Go
Apache License 2.0
gravitational/planet
Extend the list of signal traps to ignore
272,206
09.01.2017 19:47:06
-3,600
bec5e699fac5ffaf087c89dda0f511795cd09e0f
Configure planet service in "mixed" KillMode with custom KillSignal (47=SIGRTMIN+13) which systemd processes as "immediate halt". These changes will allow to terminate the process tree rooted at container's systemd whenever planet closes unexpectedly (i.e. as a result of a crasH) - w/o properly cleaning up the state by...
[ { "change_type": "MODIFY", "old_path": "build.assets/orbit.manifest.json", "new_path": "build.assets/orbit.manifest.json", "diff": "\"User\": \"0\",\n\"Type\": \"simple\",\n\"Restart\": \"always\",\n- \"KillMode\": \"none\",\n+ \"KillMode\": \"mixed\",\n+ \"KillSignal\": \"SIGRTMIN+13\",\n\"StartPre...
Go
Apache License 2.0
gravitational/planet
Configure planet service in "mixed" KillMode with custom KillSignal (47=SIGRTMIN+13) which systemd processes as "immediate halt". These changes will allow to terminate the process tree rooted at container's systemd whenever planet closes unexpectedly (i.e. as a result of a crasH) - w/o properly cleaning up the state by...
272,206
16.01.2017 22:32:38
-3,600
8a0b791ecc861396d0d9ef66b4268beb25574e3b
Re-enable inter-pod communication test
[ { "change_type": "MODIFY", "old_path": "tool/planet/main.go", "new_path": "tool/planet/main.go", "diff": "@@ -221,7 +221,7 @@ func run() error {\nKeyFile: *cagentEtcdKeyFile,\n}\ndisableInterPodCheck := true\n- if *cstartInitialCluster != nil && len(*cstartInitialCluster) > 2 {\n+ if *cagentInitialC...
Go
Apache License 2.0
gravitational/planet
Re-enable inter-pod communication test
272,209
17.01.2017 12:33:20
28,800
a7b6b75dffda28ec80d1a7e16464a0dab47cec38
Wrap env vars in quotes when writing container-environment
[ { "change_type": "MODIFY", "old_path": "lib/box/srv.go", "new_path": "lib/box/srv.go", "diff": "@@ -312,7 +312,8 @@ func WriteEnvironment(path string, env EnvVars) error {\n}\ndefer f.Close()\nfor _, v := range env {\n- if _, err := fmt.Fprintf(f, \"%v=%v\\n\", v.Name, v.Val); err != nil {\n+ // quo...
Go
Apache License 2.0
gravitational/planet
Wrap env vars in quotes when writing container-environment
272,209
17.01.2017 15:53:23
28,800
ac1b2f4af262be7168fd86ad5b5ce704cfa43e35
Use trim suffix/prefix
[ { "change_type": "MODIFY", "old_path": "lib/box/srv.go", "new_path": "lib/box/srv.go", "diff": "@@ -333,7 +333,8 @@ func ReadEnvironment(path string) (vars EnvVars, err error) {\nif len(keyVal) != 2 {\ncontinue\n}\n- vars.Upsert(keyVal[0], keyVal[1][1:len(keyVal[1])-1]) // strip quotes from value\n+...
Go
Apache License 2.0
gravitational/planet
Use trim suffix/prefix
272,206
28.01.2017 23:59:52
-3,600
a18b57ebe6a7e9c75de78dc4359e2311b4360f62
Disable inter-pod tests until there's a way to make them not interfere with networking first-time configuration.
[ { "change_type": "MODIFY", "old_path": "tool/planet/main.go", "new_path": "tool/planet/main.go", "diff": "@@ -221,9 +221,22 @@ func run() error {\nKeyFile: *cagentEtcdKeyFile,\n}\ndisableInterPodCheck := true\n- if *cagentInitialCluster != nil && len(*cagentInitialCluster) > 2 {\n- disableInterPodCh...
Go
Apache License 2.0
gravitational/planet
Disable inter-pod tests until there's a way to make them not interfere with networking first-time configuration.
272,206
18.01.2017 18:21:32
-3,600
7f78e5cd67b76d85dcb9aedf90ee04f8d5d7ba68
Bump k8s (1.5.2) / docker (1.12.6)
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -42,7 +42,7 @@ ASSETS := $(PWD)/build.assets\nBUILD_ASSETS := $(PWD)/build/assets\nBUILDDIR ?= $(PWD)/build\nBUILDDIR := $(shell realpath $(BUILDDIR))\n-KUBE_VER:=v1.4.6\n+KUBE_VER := v1.5.2\nPUBLIC_IP := 127.0.0....
Go
Apache License 2.0
gravitational/planet
Bump k8s (1.5.2) / docker (1.12.6)
272,206
18.01.2017 20:15:44
-3,600
22a1717ddc8dd7e575bd70ef7f966ac180beb1ce
Bump docker/registry
[ { "change_type": "MODIFY", "old_path": "build.assets/makefiles/base/docker/docker.mk", "new_path": "build.assets/makefiles/base/docker/docker.mk", "diff": "ARCH := x86_64\nOS := Linux\nVER := 1.12.6\n-BINARIES := $(ASSETDIR)/docker-$(VER)\n+override DIR := $(ASSETDIR)/docker-$(VER)\n+BINARIES := \\\...
Go
Apache License 2.0
gravitational/planet
Bump docker/registry
272,206
18.01.2017 21:05:01
-3,600
01d1d74120096c534dc1f79a411e4ebfb4a888f0
Docker: download tarball/extract binaries in separate targets
[ { "change_type": "MODIFY", "old_path": "build.assets/makefiles/base/docker/docker.mk", "new_path": "build.assets/makefiles/base/docker/docker.mk", "diff": "@@ -9,20 +9,22 @@ OS := Linux\nVER := 1.12.6\noverride DIR := $(ASSETDIR)/docker-$(VER)\nBINARIES := \\\n- $(DIR)/docker \\\n- $(DIR)/docker-con...
Go
Apache License 2.0
gravitational/planet
Docker: download tarball/extract binaries in separate targets
272,206
19.01.2017 01:16:42
-3,600
fd90ee8cde344112b110bf41943e75bb3a374f61
Drop cniVersion to 0.2.0 which seems to be the max supported version (with k8s 1.5.x?) - otherwise cni setup complains that plugin supports only versions ["0.1.0" "0.2.0"]. kubelet: drop --configuire-cbr0 as unsupported. Bump version of the pause container. docker-import: remove deprecated "-f" from "tag" command.
[ { "change_type": "MODIFY", "old_path": "build.assets/makefiles/base/docker/docker.service", "new_path": "build.assets/makefiles/base/docker/docker.service", "diff": "[Unit]\n-Description=Docker\n+Description=Docker Application Container Engine\nDocumentation=https://docs.docker.com\n-Wants=docker.so...
Go
Apache License 2.0
gravitational/planet
Drop cniVersion to 0.2.0 which seems to be the max supported version (with k8s 1.5.x?) - otherwise cni setup complains that plugin supports only versions ["0.1.0" "0.2.0"]. kubelet: drop --configuire-cbr0 as unsupported. Bump version of the pause container. docker-import: remove deprecated "-f" from "tag" command.
272,206
01.02.2017 22:39:09
-3,600
cecabeae0a8009df4f79ea5238d39985b0a3786d
Docker releases only static builds from get.docker.com. For CentOS/RHEL, we nede a dynamic binary to support devicemapper. So instead of downloading a release, use a package bundled with with an OS distribution (debian/jessie).
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -43,6 +43,7 @@ BUILD_ASSETS := $(PWD)/build/assets\nBUILDDIR ?= $(PWD)/build\nBUILDDIR := $(shell realpath $(BUILDDIR))\nKUBE_VER := v1.5.2\n+DOCKER_VER := 1.12.6-0~debian-jessie\nPUBLIC_IP := 127.0.0.1\nexport\nP...
Go
Apache License 2.0
gravitational/planet
Docker releases only static builds from get.docker.com. For CentOS/RHEL, we nede a dynamic binary to support devicemapper. So instead of downloading a release, use a package bundled with with an OS distribution (debian/jessie).