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,062
13.07.2021 16:26:56
-10,800
1d9b043d817279f53ed9ee75a523a2aa9c8d8dfb
Use libsqlite-dev from the sqlite build
[ { "change_type": "MODIFY", "old_path": "snap/snapcraft.yaml", "new_path": "snap/snapcraft.yaml", "diff": "@@ -174,8 +174,6 @@ parts:\nsource-type: git\nplugin: go\ngo-channel: 1.15/stable\n- build-packages:\n- - libsqlite3-dev\ngo-importpath: github.com/canonical/go-dqlite\noverride-build: |\nset -e...
Python
Apache License 2.0
canonical/microk8s
Use libsqlite-dev from the sqlite build (#2430)
104,062
23.07.2021 09:56:24
-10,800
bbe8c850ea651ee5841e3c164d2b2e4fad525b5a
Update istio to v1.10.3
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/disable.istio.sh", "new_path": "microk8s-resources/actions/disable.istio.sh", "diff": "@@ -6,9 +6,7 @@ source $SNAP/actions/common/utils.sh\necho \"Disabling Istio\"\n-KUBECTL=\"$SNAP/kubectl --kubeconfig=${SNAP_DATA}/credentials/cli...
Python
Apache License 2.0
canonical/microk8s
Update istio to v1.10.3 (#2462)
104,062
23.07.2021 15:27:53
-10,800
ca9270d436c4c83047d1c3ec674a80350245cfb1
Upgrade cilium to 1.10
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/enable.cilium.sh", "new_path": "microk8s-resources/actions/enable.cilium.sh", "diff": "@@ -37,7 +37,7 @@ echo \"Enabling Cilium\"\nread -ra CILIUM_VERSION <<< \"$1\"\nif [ -z \"$CILIUM_VERSION\" ]; then\n- CILIUM_VERSION=\"v1.8\"\n+ ...
Python
Apache License 2.0
canonical/microk8s
Upgrade cilium to 1.10 (#2464)
104,160
23.07.2021 17:52:25
-19,080
a429f57853b9b53f63cf3c09d4f308f88ade8091
Update microk8s.wrapper: avoid using `ls` that can produce different output on different systems Instead of `ls` output use bash path glob expansion
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/microk8s.wrapper", "new_path": "microk8s-resources/wrappers/microk8s.wrapper", "diff": "@@ -4,8 +4,8 @@ set -e\nfunction help() {\necho \"Available subcommands are:\"\n- for i in $(ls ${SNAP}/microk8s-*.wrapper | sed 's/microk8s-//g...
Python
Apache License 2.0
canonical/microk8s
Update microk8s.wrapper: avoid using `ls` that can produce different output on different systems (#2392) Instead of `ls` output use bash path glob expansion
104,063
23.07.2021 18:18:47
-19,080
84ba7ee4a6282a508890981b776086267eeee191
Knative version update
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/disable.knative.sh", "new_path": "microk8s-resources/actions/disable.knative.sh", "diff": "@@ -8,14 +8,14 @@ echo \"Disabling Knative\"\nKUBECTL=\"$SNAP/kubectl --kubeconfig=${SNAP_DATA}/credentials/client.config\"\n-declare -a yamls...
Python
Apache License 2.0
canonical/microk8s
Knative version update (#2451)
104,142
27.07.2021 11:32:25
14,400
054b9713d3a88605047f26ecad8cae7c9364418f
Include ingress for addon status check
[ { "change_type": "MODIFY", "old_path": "scripts/wrappers/status.py", "new_path": "scripts/wrappers/status.py", "diff": "@@ -154,7 +154,8 @@ def get_status(available_addons, isReady):\nenabled = []\ndisabled = []\nif isReady:\n- kube_output = kubectl_get(\"all\")\n+ # 'all' does not include ingress\n...
Python
Apache License 2.0
canonical/microk8s
Include ingress for addon status check
104,142
27.07.2021 15:25:31
14,400
e7eafdb1c13161f49668fdfb198bfebd54834048
Add addon to expose dashboard over ingress
[ { "change_type": "ADD", "old_path": null, "new_path": "microk8s-resources/actions/dashboard-ingress.yaml", "diff": "+apiVersion: networking.k8s.io/v1\n+kind: Ingress\n+metadata:\n+ name: kubernetes-dashboard-ingress-nip\n+ namespace: kube-system\n+ annotations:\n+ kubernetes.io/ingress.class: public...
Python
Apache License 2.0
canonical/microk8s
Add addon to expose dashboard over ingress (#906)
104,142
27.07.2021 15:26:51
14,400
b4a8ddb3fcd03575a21b926e9d3a87c769e4bc62
Add validator for dashboard-ingress
[ { "change_type": "MODIFY", "old_path": "tests/test-addons.py", "new_path": "tests/test-addons.py", "diff": "@@ -6,6 +6,7 @@ import yaml\nfrom validators import (\nvalidate_dns_dashboard,\n+ validate_dashboard_ingress,\nvalidate_storage,\nvalidate_ingress,\nvalidate_ambassador,\n@@ -126,6 +127,12 @@ ...
Python
Apache License 2.0
canonical/microk8s
Add validator for dashboard-ingress (#906)
104,142
27.07.2021 16:32:43
14,400
269dc4c00c0d715497aa3f5d5126c3fc2750e326
Add note and workaround for nip.io in tests
[ { "change_type": "MODIFY", "old_path": "docs/build.md", "new_path": "docs/build.md", "diff": "@@ -152,3 +152,10 @@ cd tests/\npytest -s test-addons.py\npytest -s test-upgrade.py\n```\n+\n+Note: the `ingress` and `dashboard-ingress` tests make use of nip.io for wildcard ingress domains on localhost. ...
Python
Apache License 2.0
canonical/microk8s
Add note and workaround for nip.io in tests
104,142
27.07.2021 17:51:21
14,400
fb1f23c25e3ec0b224285b847a3bf5f84b4cc1b1
Force HTTPS redirect on dashboard ingress
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/dashboard-ingress.yaml", "new_path": "microk8s-resources/actions/dashboard-ingress.yaml", "diff": "@@ -10,7 +10,7 @@ metadata:\nnginx.ingress.kubernetes.io/whitelist-source-range: \"127.0.0.1/8,169.254.0.0/16,10.0.0.0/8,172.16.0.0/12...
Python
Apache License 2.0
canonical/microk8s
Force HTTPS redirect on dashboard ingress
104,088
28.07.2021 14:13:43
18,000
2a4e78deb5fd9425c2934f2d5b12c12bf71b68ed
Bump Kubeflow addon to latest revisions
[ { "change_type": "MODIFY", "old_path": ".github/workflows/test-kubeflow.yaml", "new_path": ".github/workflows/test-kubeflow.yaml", "diff": "@@ -70,7 +70,7 @@ jobs:\nsudo apt install -y libssl-dev python3-pip firefox-geckodriver\ngit clone https://github.com/juju-solutions/bundle-kubeflow.git\ncd bun...
Python
Apache License 2.0
canonical/microk8s
Bump Kubeflow addon to latest revisions (#2480)
104,142
28.07.2021 15:55:55
14,400
5e9a6bfa7640febada98afa79c7fe71b06734f29
Fix lint on validator changes at dashboard_ingress
[ { "change_type": "MODIFY", "old_path": "tests/validators.py", "new_path": "tests/validators.py", "diff": "@@ -41,6 +41,7 @@ def validate_dns_dashboard():\nassert attempt > 0\n+\ndef validate_dashboard_ingress():\n\"\"\"\nValidate the ingress for dashboard addon by trying to access the kubernetes das...
Python
Apache License 2.0
canonical/microk8s
Fix lint on validator changes at dashboard_ingress
104,142
28.07.2021 21:23:42
14,400
67031e16c8948958844d5cc29945df310ab1c17f
Add config args to dashboard-ingress addon
[ { "change_type": "DELETE", "old_path": "microk8s-resources/actions/dashboard-ingress.yaml", "new_path": null, "diff": "-apiVersion: networking.k8s.io/v1\n-kind: Ingress\n-metadata:\n- name: kubernetes-dashboard-ingress-nip\n- namespace: kube-system\n- annotations:\n- kubernetes.io/ingress.class: pub...
Python
Apache License 2.0
canonical/microk8s
Add config args to dashboard-ingress addon (#906)
104,062
03.08.2021 15:12:10
-10,800
8d8bf651a3c3febd741dbfb9f0b70027f4d588c3
Update addon versions reported by the status command
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/addon-lists.yaml", "new_path": "microk8s-resources/wrappers/addon-lists.yaml", "diff": "@@ -21,7 +21,7 @@ microk8s-addons:\n- name: \"dashboard\"\ndescription: \"The Kubernetes dashboard\"\n- version: \"2.0.0\"\n+ version: \"2.2.0\"...
Python
Apache License 2.0
canonical/microk8s
Update addon versions reported by the status command (#2467)
104,080
03.08.2021 09:54:23
14,400
cbf3e11046f2c30db6d595b6b9d1971a1d02ae4b
Add config and tips for use with UFW
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-kubelite-with-args", "new_path": "microk8s-resources/wrappers/run-kubelite-with-args", "diff": "@@ -74,6 +74,19 @@ then\nfi\nfi\n+#UFW configuration\n+ufw=$(ufw status)\n+if echo $ufw | grep -q \"Status: active\" &&\n+ ! [ -e ${...
Python
Apache License 2.0
canonical/microk8s
Add config and tips for use with UFW (#2426)
104,062
05.08.2021 07:28:23
-10,800
9dd8768f7e9159bb034f1f5029d5d86251b1912c
Prepare for 1.22 build
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "# MicroK8s\n-![](https://img.shields.io/badge/Kubernetes-1.21-326de6.svg)\n+![](https://img.shields.io/badge/Kubernetes-1.22-326de6.svg)\n<img src=\"/docs/images/certified_kubernetes_color-222x300.png\" align=\"rig...
Python
Apache License 2.0
canonical/microk8s
Prepare for 1.22 build (#2492)
104,062
05.08.2021 16:07:41
-10,800
d3693d6b286f41b26fa9543d9ff5bd503b4a6f7c
Disable openebs addon until is fixed for v1.22
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/enable.openebs.sh", "new_path": "microk8s-resources/actions/enable.openebs.sh", "diff": "@@ -8,6 +8,13 @@ KUBECTL=\"$SNAP/kubectl --kubeconfig=${SNAP_DATA}/credentials/client.config\"\nOPENEBS_NS=\"openebs\"\n+echo \"\"\n+echo \"This...
Python
Apache License 2.0
canonical/microk8s
Disable openebs addon until is fixed for v1.22 (#2499)
104,062
05.08.2021 17:23:49
-10,800
43ab8cea7243b193d6ff68b9873286aed4cc8c11
Disable Kubeflow addon for the v1.22 release
[ { "change_type": "MODIFY", "old_path": ".github/workflows/test-kubeflow.yaml", "new_path": ".github/workflows/test-kubeflow.yaml", "diff": "@@ -11,6 +11,7 @@ on:\njobs:\nbuild:\nname: Build\n+ if: ${{ false }} # disable Kubeflow tests until v1.22 is supported.\nruns-on: ubuntu-latest\nsteps:\n" },...
Python
Apache License 2.0
canonical/microk8s
Disable Kubeflow addon for the v1.22 release (#2497)
104,062
06.08.2021 23:08:44
-10,800
aa3a56d5a7ce0bb3dbb6c849b94dc3e11ae1ca5b
Do not run cilium test on lxc
[ { "change_type": "MODIFY", "old_path": "tests/test-addons.py", "new_path": "tests/test-addons.py", "diff": "@@ -252,8 +252,8 @@ class TestAddons(object):\nplatform.machine() != \"x86_64\", reason=\"Cilium tests are only relevant in x86 architectures\"\n)\n@pytest.mark.skipif(\n- os.environ.get(\"UND...
Python
Apache License 2.0
canonical/microk8s
Do not run cilium test on lxc (#2503)
104,062
23.08.2021 14:14:40
-10,800
bfff0648d5874c5ba57ebae366856112a5897d18
Suggest fix for Debian 9 old snapctl
[ { "change_type": "MODIFY", "old_path": "scripts/inspect.sh", "new_path": "scripts/inspect.sh", "diff": "@@ -203,11 +203,7 @@ function suggest_fixes {\nprintf -- '\\033[0;33mWARNING: \\033[0m The memory cgroup is not enabled. \\n'\nprintf -- 'The cluster may not be functioning properly. Please ensure...
Python
Apache License 2.0
canonical/microk8s
MK-58 Suggest fix for Debian 9 old snapctl (#2528)
104,068
02.09.2021 08:21:03
14,400
bb63d85e7f6351244e6b3525a429cf1fc69d96a3
Add our K8s learning resource based on Microk8s Used here:
[ { "change_type": "MODIFY", "old_path": "docs/community.md", "new_path": "docs/community.md", "diff": "@@ -5,6 +5,7 @@ request with updates to this page.\n| Event/Mention | Author(s) | Source | Date |\n|---------------------------------------------------------------------|--------------|----------|--...
Python
Apache License 2.0
canonical/microk8s
Add our K8s learning resource based on Microk8s (#2504) Used here: https://www.canarie.ca/cloud/boosterpacks/catalogue/flight-plan-automate-cloud-orchestration-with-kubernetes/sample-solution-kubernetes-automation-toolkit-kat/
104,062
17.09.2021 11:44:47
-10,800
6938f1b58ca3e53371e51f86323098fdd55fc526
Copy users to the new snap_microk8s group
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -704,3 +704,21 @@ mark_boot_time() {\nnow=$(date +%s)\necho \"$now\" > \"$1\"/last-start-date\n}\n+\n+try_copy_users_to_snap_microk8s() {\n+ # tr...
Python
Apache License 2.0
canonical/microk8s
Copy users to the new snap_microk8s group (#2568)
104,065
22.09.2021 13:45:26
-7,200
9907772f2f429ae54a7cc1f4058826f23e0a92ae
Use correct casing for OpenFaaS addon description
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/addon-lists.yaml", "new_path": "microk8s-resources/wrappers/addon-lists.yaml", "diff": "@@ -209,7 +209,7 @@ microk8s-addons:\n- amd64\n- name: \"openfaas\"\n- description: \"openfaas serverless framework\"\n+ description: \"OpenFaaS...
Python
Apache License 2.0
canonical/microk8s
Use correct casing for OpenFaaS addon description (#2577)
104,073
22.09.2021 15:49:43
14,400
25100703e634e924d8cd349aa72777cff758cb7b
Update microk8s.nsi Actually bump version number
[ { "change_type": "MODIFY", "old_path": "installer/windows/microk8s.nsi", "new_path": "installer/windows/microk8s.nsi", "diff": "!include \"Sections.nsh\"\n!define PRODUCT_NAME \"MicroK8s\"\n-!define PRODUCT_VERSION \"2.1.0\"\n+!define PRODUCT_VERSION \"2.2.0\"\n!define PRODUCT_PUBLISHER \"Canonical\...
Python
Apache License 2.0
canonical/microk8s
Update microk8s.nsi (#2587) Actually bump version number
104,062
23.09.2021 15:05:05
-10,800
ba8e19fd84e0a8c0c17728744f716903232751fd
Build k8s binaries with go v1.17
[ { "change_type": "MODIFY", "old_path": "snap/snapcraft.yaml", "new_path": "snap/snapcraft.yaml", "diff": "@@ -287,7 +287,7 @@ parts:\n- git\noverride-build: |\nset -eux\n- snap refresh go --channel=1.16/stable || true\n+ snap refresh go --channel=1.17/stable || true\n. ./set-env-variables.sh\n# if \...
Python
Apache License 2.0
canonical/microk8s
Build k8s binaries with go v1.17 (#2588)
104,062
28.09.2021 08:09:29
-10,800
8e349d3b13677f1055ff0d4e57e1d147017959bb
Do not print dqlite error messages while dqlite forms a cluster
[ { "change_type": "MODIFY", "old_path": "scripts/cluster/join.py", "new_path": "scripts/cluster/join.py", "diff": "@@ -914,6 +914,7 @@ def update_dqlite(cluster_cert, cluster_key, voters, host):\nsnappath=snap_path, dbdir=cluster_dir\n).split(),\ntimeout=4,\n+ stderr=subprocess.STDOUT,\n)\nif host in...
Python
Apache License 2.0
canonical/microk8s
Do not print dqlite error messages while dqlite forms a cluster (#2605)
104,081
28.09.2021 17:35:53
-19,080
741ce446197960cd5f0a194114d97564e7cfc0b9
Change helm install flags to work with OpenEBS v3.0
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/enable.openebs.sh", "new_path": "microk8s-resources/actions/enable.openebs.sh", "diff": "@@ -30,17 +30,16 @@ HELM=\"$SNAP_DATA/bin/helm3 --kubeconfig=$SNAP_DATA/credentials/client.config\"\n$HELM repo add openebs https://openebs.gith...
Python
Apache License 2.0
canonical/microk8s
Change helm install flags to work with OpenEBS v3.0 (#2607) Signed-off-by: Niladri Halder <niladri.halder@mayadata.io>
104,081
28.09.2021 19:06:10
-19,080
9984209524e8f7db1f8a0e51a95099969df0fed1
Fix typo in helm install command
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/enable.openebs.sh", "new_path": "microk8s-resources/actions/enable.openebs.sh", "diff": "@@ -30,7 +30,7 @@ HELM=\"$SNAP_DATA/bin/helm3 --kubeconfig=$SNAP_DATA/credentials/client.config\"\n$HELM repo add openebs https://openebs.github...
Python
Apache License 2.0
canonical/microk8s
Fix typo in helm install command (#2608) Signed-off-by: Niladri Halder <niladri.halder@mayadata.io>
104,062
01.10.2021 17:29:22
-10,800
3d9aabe3cc7d4d132703f0861ea9451634f86dc1
Use go-migrator from canonical
[ { "change_type": "MODIFY", "old_path": "snap/snapcraft.yaml", "new_path": "snap/snapcraft.yaml", "diff": "@@ -347,11 +347,11 @@ parts:\nmigrator:\nbuild-snaps: [go]\n- source: https://github.com/ktsakalozos/go-migrator\n+ source: https://github.com/canonical/go-migrator\nsource-type: git\nplugin: go...
Python
Apache License 2.0
canonical/microk8s
Use go-migrator from canonical (#2615)
104,054
05.10.2021 06:13:26
25,200
13c0ec18926c09af67c4b19fd9369ce9dc5fd4c4
ignore unroutable DHCP failure addresses when considering IP addresses for get_ips()
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -358,7 +358,7 @@ get_default_ip() {\n}\nget_ips() {\n- local IP_ADDR=\"$($SNAP/bin/hostname -I)\"\n+ local IP_ADDR=\"$($SNAP/bin/hostname -I | se...
Python
Apache License 2.0
canonical/microk8s
ignore unroutable DHCP failure addresses when considering IP addresses for get_ips() (#2617)
104,073
08.10.2021 11:31:05
14,400
63845ce0033310e9aa13d29c6911339a04ec5177
Bump Multipass to v1.7.2
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build-installer.yml", "new_path": ".github/workflows/build-installer.yml", "diff": "@@ -40,7 +40,7 @@ jobs:\n- name: Download Multipass installer\nuses: carlosperate/download-file-action@v1.0.3\nwith:\n- file-url: https://github.com/canonical...
Python
Apache License 2.0
canonical/microk8s
Bump Multipass to v1.7.2 (#2637)
104,088
13.10.2021 04:14:29
18,000
c37ce351fe644f3755981f6092bf806e66991158
Fix Kubeflow cleanup for Juju 2.8+ Fixes issue where admission-webhook would leave behind a webhook that would attempt to talk to the non-existent admission-webhook service, blocking all attempts to create a new Pod.
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/disable.kubeflow.sh", "new_path": "microk8s-resources/actions/disable.kubeflow.sh", "diff": "@@ -43,7 +43,7 @@ def kubeflow():\nresources = [\n(\"mutatingwebhookconfigurations\", \"\"),\n(\"validatingwebhookconfigurations\", \"\"),\n...
Python
Apache License 2.0
canonical/microk8s
Fix Kubeflow cleanup for Juju 2.8+ (#2649) Fixes issue where admission-webhook would leave behind a webhook that would attempt to talk to the non-existent admission-webhook service, blocking all attempts to create a new Pod.
104,073
25.10.2021 06:18:24
14,400
c70f5f25b1ecb5a7d75718ee3169e967610265c1
Use Docker's own registry image
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/registry.yaml", "new_path": "microk8s-resources/actions/registry.yaml", "diff": "@@ -36,7 +36,7 @@ spec:\nspec:\ncontainers:\n- name: registry\n- image: cdkbot/registry-$ARCH:2.6\n+ image: registry:2.7.1\nenv:\n- name: REGISTRY_HTTP_...
Python
Apache License 2.0
canonical/microk8s
Use Docker's own registry image (#2679)
104,127
31.10.2021 10:06:48
21,600
452bcacb2938a86f58ed3023df6996f73091eb0e
Upgrade linkerd to version 2.11.1
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/enable.linkerd.sh", "new_path": "microk8s-resources/actions/enable.linkerd.sh", "diff": "@@ -12,7 +12,7 @@ ARCH=$(arch)\n# check if linkerd cli is already in the system. Download if it doesn't exist.\nif [ ! -f \"${SNAP_DATA}/bin/lin...
Python
Apache License 2.0
canonical/microk8s
Upgrade linkerd to version 2.11.1
104,062
01.11.2021 14:11:49
-7,200
183781f2209ea842af94ac8e3a8bdd5ece3747d4
Fix yaml loading in tests
[ { "change_type": "MODIFY", "old_path": "tests/test-addons.py", "new_path": "tests/test-addons.py", "diff": "@@ -58,7 +58,7 @@ class TestAddons(object):\nsh.microk8s.enable.foo()\ndef test_help_text(self):\n- status = yaml.load(sh.microk8s.status(format=\"yaml\").stdout)\n+ status = yaml.safe_load(sh...
Python
Apache License 2.0
canonical/microk8s
Fix yaml loading in tests (#2698)
104,073
02.11.2021 09:29:01
14,400
5c311bdf25837500723c0fa11b411f0b7a01d344
Update EnVar plugin
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build-installer.yml", "new_path": ".github/workflows/build-installer.yml", "diff": "@@ -32,7 +32,7 @@ jobs:\n- name: Download EnVar plugin for NSIS\nuses: carlosperate/download-file-action@v1.0.3\nwith:\n- file-url: https://nsis.sourceforge.i...
Python
Apache License 2.0
canonical/microk8s
Update EnVar plugin (#2704)
104,073
02.11.2021 09:42:34
14,400
18b22f223e5fa0919eef2d01a728e99e8c84b4b4
Installer 2.2.1 release
[ { "change_type": "MODIFY", "old_path": "installer/windows/microk8s.nsi", "new_path": "installer/windows/microk8s.nsi", "diff": "!include \"Sections.nsh\"\n!define PRODUCT_NAME \"MicroK8s\"\n-!define PRODUCT_VERSION \"2.2.0\"\n+!define PRODUCT_VERSION \"2.2.1\"\n!define PRODUCT_PUBLISHER \"Canonical\...
Python
Apache License 2.0
canonical/microk8s
Installer 2.2.1 release (#2705)
104,062
09.11.2021 13:09:04
-7,200
5d3aafecf1a9f4c011ee1cc07b8963316ca41c6a
Inspect report to include basic dqlite info
[ { "change_type": "MODIFY", "old_path": "scripts/inspect.sh", "new_path": "scripts/inspect.sh", "diff": "@@ -113,6 +113,17 @@ function store_juju_info {\n}\n+function store_dqlite_info {\n+ # Collect some dqlite details\n+ printf -- ' Inspect dqlite\\n'\n+ mkdir -p $INSPECT_DUMP/dqlite\n+ sudo -E cp ...
Python
Apache License 2.0
canonical/microk8s
Inspect report to include basic dqlite info (#2688)
104,062
11.11.2021 15:08:25
-7,200
5aa2240f79b9c58a59148799d1b84c0eefd56e8e
Update GPU operator to v1.8.2 and fix its test
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/enable.gpu.sh", "new_path": "microk8s-resources/actions/enable.gpu.sh", "diff": "@@ -41,7 +41,7 @@ echo \"Installing NVIDIA Operator\"\n\"$SNAP/microk8s-helm3.wrapper\" repo add nvidia https://nvidia.github.io/gpu-operator\n\"$SNAP/m...
Python
Apache License 2.0
canonical/microk8s
Update GPU operator to v1.8.2 and fix its test (#2708)
104,047
11.11.2021 18:27:12
-19,080
0a406f0772995bed2d650df7a6276a1d88051c88
updated portainer disable script
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/disable.portainer.sh", "new_path": "microk8s-resources/actions/disable.portainer.sh", "diff": "@@ -6,8 +6,6 @@ source $SNAP/actions/common/utils.sh\nNAMESPACE_PTR=\"portainer\"\n-MANIFEST_PTR=\"https://raw.githubusercontent.com/porta...
Python
Apache License 2.0
canonical/microk8s
updated portainer disable script (#2693)
104,143
16.11.2021 21:54:05
-7,200
28f591483c85f0117ffce63a8ad47f2f9db3701f
Update default kube-apiserver arguments Disable profiling (--profiling=false) Reduce event TTL to 5 minutes (--event-ttl=5m)
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/default-args/kube-apiserver", "new_path": "microk8s-resources/default-args/kube-apiserver", "diff": "--service-account-issuer='https://kubernetes.default.svc'\n--service-account-signing-key-file=${SNAP_DATA}/certs/serviceaccount.key\n--featu...
Python
Apache License 2.0
canonical/microk8s
Update default kube-apiserver arguments (#2731) - Disable profiling (--profiling=false) - Reduce event TTL to 5 minutes (--event-ttl=5m)
104,143
18.11.2021 12:35:01
-7,200
ce94a301971e2412e8a2697862be76f0878f13e9
Use SafeLoader instead of FullLoader
[ { "change_type": "MODIFY", "old_path": "scripts/cluster/agent.py", "new_path": "scripts/cluster/agent.py", "diff": "@@ -466,7 +466,7 @@ def get_dqlite_nodes():\nwhile waits > 0:\ntry:\nwith open(\"{}/info.yaml\".format(cluster_dir)) as f:\n- data = yaml.load(f, Loader=yaml.FullLoader)\n+ data = yaml...
Python
Apache License 2.0
canonical/microk8s
Use SafeLoader instead of FullLoader (#2726)
104,125
18.11.2021 18:38:20
-19,080
5daba1bf7119642424347016d592510ef0eabf04
Pull inspection tarball out of the multipass VM
[ { "change_type": "MODIFY", "old_path": "installer/cli/microk8s.py", "new_path": "installer/cli/microk8s.py", "diff": "@@ -3,6 +3,7 @@ import logging\nimport traceback\nfrom typing import List\nfrom sys import exit, platform\n+from os import getcwd\nimport click\n@@ -56,6 +57,9 @@ def cli(ctx, help):...
Python
Apache License 2.0
canonical/microk8s
Pull inspection tarball out of the multipass VM (#2711)
104,143
25.11.2021 16:48:44
-7,200
6681b5a81a50923d2a4335b79e481346e391b568
Improve handling for missing k8s-dqlite arguments file
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-k8s-dqlite-with-args", "new_path": "microk8s-resources/wrappers/run-k8s-dqlite-with-args", "diff": "@@ -15,6 +15,14 @@ exit_if_service_not_expected_to_start k8s-dqlite\napp=k8s-dqlite\n+if ! [ -e \"$SNAP_DATA/args/${app}\" ]\n+t...
Python
Apache License 2.0
canonical/microk8s
Improve handling for missing k8s-dqlite arguments file (#2753)
104,143
26.11.2021 11:49:08
-7,200
1e74ef9462724831780a3e9e799952e6f50a8483
Fix typo in configure script
[ { "change_type": "MODIFY", "old_path": "snap/hooks/configure", "new_path": "snap/hooks/configure", "diff": "@@ -327,7 +327,7 @@ do\nchmod -R o-rwX ${dir}\ndone\n-# Try to great the microk8s group. DO not fail the installation if something goes wrong\n+# Try to create the microk8s group. Do not fail ...
Python
Apache License 2.0
canonical/microk8s
Fix typo in configure script (#2758)
104,062
26.11.2021 11:55:35
-7,200
41a120cec47726e0edca9b8ee662dc6684f7acf8
Remove the --insecure-port argument
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/default-args/kube-apiserver", "new_path": "microk8s-resources/default-args/kube-apiserver", "diff": "--kubelet-client-key=${SNAP_DATA}/certs/server.key\n--secure-port=16443\n--token-auth-file=${SNAP_DATA}/credentials/known_tokens.csv\n---ins...
Python
Apache License 2.0
canonical/microk8s
Remove the --insecure-port argument (#2756)
104,062
26.11.2021 23:19:32
-7,200
d84fa9e2c7cb55d77248a60eeee8afee96dc72a5
Fix add-node output in etcd based clusters
[ { "change_type": "MODIFY", "old_path": "scripts/cluster/add_token.py", "new_path": "scripts/cluster/add_token.py", "diff": "@@ -4,6 +4,8 @@ import time\nimport argparse\nimport subprocess\n+from common.utils import is_node_running_dqlite\n+\ntry:\nfrom secrets import token_hex\nexcept ImportError:\n...
Python
Apache License 2.0
canonical/microk8s
Fix add-node output in etcd based clusters (#2760)
104,062
27.11.2021 22:12:24
-7,200
8165f619d30e3363d12d078da23dd9957f048f9b
Warn rpi users they need extra modules
[ { "change_type": "MODIFY", "old_path": "scripts/inspect.sh", "new_path": "scripts/inspect.sh", "diff": "@@ -144,7 +144,7 @@ function suggest_fixes {\nfi\nfi\n- if iptables -L | grep FORWARD | grep DROP &> /dev/null\n+ if iptables -L 2>&1 | grep FORWARD | grep DROP &> /dev/null\nthen\nprintf -- '\\03...
Python
Apache License 2.0
canonical/microk8s
Warn rpi users they need extra modules (#2754)
104,162
29.11.2021 14:03:21
-7,200
7b6cace0123641fbb4110ccc012f56fca86a5f9c
Remove deprecated configuration from containerd-template.toml and adapt it as suggested by containerd documentation.
[ { "change_type": "ADD", "old_path": null, "new_path": "microk8s-resources/default-args/certs.d/docker.io/hosts.toml", "diff": "+server = \"https://docker.io\"\n+\n+[host.\"https://registry-1.docker.io\"]\n+ capabilities = [\"pull\", \"resolve\"]\n+\n" }, { "change_type": "ADD", "old_path...
Python
Apache License 2.0
canonical/microk8s
Remove deprecated configuration from containerd-template.toml and adapt it as suggested by containerd documentation. (#2648)
104,062
29.11.2021 14:32:30
-7,200
487a5cce31d949a24fcfaed8d198d598751acad0
Fix removal of callback tokens
[ { "change_type": "MODIFY", "old_path": "scripts/cluster/reset.py", "new_path": "scripts/cluster/reset.py", "diff": "@@ -181,8 +181,10 @@ def remove_callback_token(node):\nwith open(tmp_file, \"w\") as backup_fp:\nos.chmod(tmp_file, 0o600)\nwith open(callback_tokens_file, \"r+\") as callback_fp:\n- f...
Python
Apache License 2.0
canonical/microk8s
Fix removal of callback tokens (#2759) Co-authored-by: Angelos Kolaitis <angelos.kolaitis@canonical.com>
104,143
01.12.2021 15:57:39
-7,200
0a06190fe5863eca0821cf01f12e53b42e99bb9f
Print warning for docker iff docker daemon is installed
[ { "change_type": "MODIFY", "old_path": "scripts/inspect.sh", "new_path": "scripts/inspect.sh", "diff": "@@ -184,7 +184,7 @@ function suggest_fixes {\n# check for docker\n# if docker is installed\n- if [ -d \"/etc/docker/\" ]; then\n+ if [ -d \"/etc/docker/\" ] && ! [ -z \"$(which dockerd)\" ]; then\...
Python
Apache License 2.0
canonical/microk8s
Print warning for docker iff docker daemon is installed (#2769)
104,062
02.12.2021 20:46:42
-7,200
c22142ae3c2bd3702b891e68d53704eb153c4efd
Update the PATH containerd-shims has to find runc
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-containerd-with-args", "new_path": "microk8s-resources/wrappers/run-containerd-with-args", "diff": "@@ -7,7 +7,14 @@ if [ -d /sys/kernel/security/apparmor ] && [ \"$(cat /proc/self/attr/current)\" !=\nexec aa-exec -p unconfined ...
Python
Apache License 2.0
canonical/microk8s
Update the PATH containerd-shims has to find runc (#2772)
104,062
02.12.2021 20:51:51
-7,200
2249ea0c7539008941a364a439cac5ba3a46f2b1
Build traefik from source for s390x
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-traefik-with-args", "new_path": "microk8s-resources/wrappers/run-traefik-with-args", "diff": "@@ -17,6 +17,4 @@ fi\nsleep 6\nsed 's@${SNAP}@'\"${SNAP}\"'@g;s@${SNAP_DATA}@'\"${SNAP_DATA}\"'@g' $SNAP_DATA/args/traefik/traefik-tem...
Python
Apache License 2.0
canonical/microk8s
Build traefik from source for s390x (#2768)
104,062
06.12.2021 13:12:44
-7,200
77250f282ad822b713928cf44d5f24dfd8fa12bf
Remove colon from localhost ctonatinerd configuration
[ { "change_type": "RENAME", "old_path": "microk8s-resources/default-args/certs.d/localhost:32000/hosts.toml", "new_path": "microk8s-resources/default-args/certs.d/localhost__32000/hosts.toml", "diff": "" }, { "change_type": "MODIFY", "old_path": "snap/hooks/install", "new_path": "snap...
Python
Apache License 2.0
canonical/microk8s
Remove colon from localhost ctonatinerd configuration (#2781)
104,062
08.12.2021 20:10:43
-7,200
72f58b27af5be1bdff8e7bd98c01ac107afd0c8a
Remove insecure-port only from local config
[ { "change_type": "MODIFY", "old_path": "snap/hooks/configure", "new_path": "snap/hooks/configure", "diff": "@@ -530,7 +530,8 @@ fi\n# Removed --insecure-port argument\nif grep -e \"\\-\\-insecure\\-port\" ${SNAP_DATA}/args/kube-apiserver\nthen\n- skip_opt_in_config \"insecure-port\" kube-apiserver\n...
Python
Apache License 2.0
canonical/microk8s
Remove insecure-port only from local config (#2789)
104,073
15.12.2021 14:14:21
18,000
24fbbe0916c74e4d28eb349cfa863e641e316997
Runc now requires Go 1.16 minimum in order to go get
[ { "change_type": "MODIFY", "old_path": "snap/snapcraft.yaml", "new_path": "snap/snapcraft.yaml", "diff": "@@ -459,9 +459,10 @@ parts:\noverride-build: |\nset -eux\n. $SNAPCRAFT_PART_SRC/set-env-variables.sh\n- snap refresh go --channel=1.15/stable || true\n+ snap refresh go --channel=1.16/stable || ...
Python
Apache License 2.0
canonical/microk8s
Runc now requires Go 1.16 minimum in order to go get (#2799)
104,073
17.12.2021 16:41:13
18,000
e52fd3e03ddceb830c74c121570be3da96f6a237
Hotfix ElasticSearch for Log4Shell
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/fluentd/es-statefulset.yaml", "new_path": "microk8s-resources/actions/fluentd/es-statefulset.yaml", "diff": "@@ -102,6 +102,8 @@ spec:\n- name: elasticsearch-logging\nmountPath: /data\nenv:\n+ - name: ES_JAVA_OPTS\n+ value: \"-Dlog4j...
Python
Apache License 2.0
canonical/microk8s
Hotfix ElasticSearch for Log4Shell (#2802)
104,073
10.01.2022 02:16:16
18,000
ca8e377ff76ab2a5f5f0f59dfaea7a8577610790
Bump Multipass and default track
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build-installer.yml", "new_path": ".github/workflows/build-installer.yml", "diff": "@@ -40,7 +40,7 @@ jobs:\n- name: Download Multipass installer\nuses: carlosperate/download-file-action@v1.0.3\nwith:\n- file-url: https://github.com/canonical...
Python
Apache License 2.0
canonical/microk8s
Bump Multipass and default track (#2794)
104,104
10.01.2022 18:37:24
-28,800
cc2a0a1070b4e4d549ad199c2bd422bafea18631
upgrade dashboard to v2.3.0 to fix ingress API 404
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/dashboard.yaml", "new_path": "microk8s-resources/actions/dashboard.yaml", "diff": "@@ -169,7 +169,7 @@ spec:\nspec:\ncontainers:\n- name: kubernetes-dashboard\n- image: kubernetesui/dashboard:v2.2.0\n+ image: kubernetesui/dashboard:v...
Python
Apache License 2.0
canonical/microk8s
upgrade dashboard to v2.3.0 to fix ingress API 404 (#2792)
104,158
11.01.2022 10:31:23
-3,600
9d61706b8cee7476e66093bb60ebea2c81bc3723
Bump traefik version to 2.5
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/traefik.yaml", "new_path": "microk8s-resources/actions/traefik.yaml", "diff": "@@ -31,7 +31,7 @@ spec:\nhostNetwork: true\ndnsPolicy: ClusterFirstWithHostNet\ncontainers:\n- - image: traefik:2.3\n+ - image: traefik:2.5\nname: traefik...
Python
Apache License 2.0
canonical/microk8s
Bump traefik version to 2.5 (#2809) Co-authored-by: Konstantinos Tsakalozos <konstantinos.tsakalozos@canonical.com>
104,143
17.01.2022 10:18:57
-7,200
45084a6d89171480d998d5d5300a808de812d2c4
Refuse joining nodes when hostname does not resolve
[ { "change_type": "MODIFY", "old_path": "scripts/cluster/agent.py", "new_path": "scripts/cluster/agent.py", "diff": "@@ -644,6 +644,36 @@ def join_node_dqlite():\nca_key = get_cert(\"ca.key\")\nadmin_token = get_token(\"admin\")\n+ # ensure that the joining node hostname resolves to the expected IP a...
Python
Apache License 2.0
canonical/microk8s
Refuse joining nodes when hostname does not resolve (#2838)
104,143
17.01.2022 13:40:29
-7,200
151bb9f27024b83e049408c8a99f9e7c43273481
Add low-memory guard
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -761,3 +761,19 @@ then\nexit 1\nfi\nfi\n+\n+exit_if_low_memory_guard() {\n+ if [ -e ${SNAP_DATA}/var/lock/low-memory-guard.lock ]\n+ then\n+ echo...
Python
Apache License 2.0
canonical/microk8s
Add low-memory guard (#2828)
104,143
20.01.2022 12:24:27
-7,200
2243ef2d78feb38b38daa250ee23a6314e03d3fd
Enable storage addon even if hostpath directory exists
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/enable.hostpath-storage.sh", "new_path": "microk8s-resources/actions/enable.hostpath-storage.sh", "diff": "@@ -4,12 +4,6 @@ set -e\nsource $SNAP/actions/common/utils.sh\n-if [ -d \"$SNAP_COMMON/default-storage\" ]\n-then\n- echo \"Ho...
Python
Apache License 2.0
canonical/microk8s
Enable storage addon even if hostpath directory exists (#2857)
104,062
24.01.2022 10:41:06
-7,200
2a55489b7d1fded504fb2b4bb45431a3257b7632
Remove the dqlite related argument from the API server when disabling HA
[ { "change_type": "MODIFY", "old_path": "upgrade-scripts/002-switch-to-flannel-etcd/commit-master.sh", "new_path": "upgrade-scripts/002-switch-to-flannel-etcd/commit-master.sh", "diff": "@@ -24,6 +24,7 @@ cp \"$SNAP_DATA\"/args/kube-apiserver \"$BACKUP_DIR/args\"\n\"${SNAP}/bin/sed\" -i '/--storage-b...
Python
Apache License 2.0
canonical/microk8s
Remove the dqlite related argument from the API server when disabling HA (#2864)
104,062
24.01.2022 10:41:26
-7,200
8649ac43882a0649403ed4f025f2a58eb609687b
Silence the hostpath-provisioner error if the provisioner is not installed
[ { "change_type": "MODIFY", "old_path": "scripts/inspect.sh", "new_path": "scripts/inspect.sh", "diff": "@@ -103,7 +103,7 @@ function store_kubernetes_info {\n}\nfunction check_storage_addon {\n- image=`sudo -E /snap/bin/microk8s kubectl get deploy -n kube-system hostpath-provisioner -o jsonpath='{.s...
Python
Apache License 2.0
canonical/microk8s
Silence the hostpath-provisioner error if the provisioner is not installed (#2873)
104,143
24.01.2022 11:20:37
-7,200
6d4dfe4b690d83c7c5620bb2c6b5a38e4bc33f03
Enable hostpath-storage addon for s390x
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/addon-lists.yaml", "new_path": "microk8s-resources/wrappers/addon-lists.yaml", "diff": "@@ -51,6 +51,7 @@ microk8s-addons:\nsupported_architectures:\n- arm64\n- amd64\n+ - s390x\n- name: \"registry\"\ndescription: \"Private image re...
Python
Apache License 2.0
canonical/microk8s
Enable hostpath-storage addon for s390x (#2874)
104,143
26.01.2022 20:17:21
-7,200
f6176cc5bca68a928d43b6ca85b6a640f37b7559
Fix RBAC rules for new hostpath-provisioner
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/storage.yaml", "new_path": "microk8s-resources/actions/storage.yaml", "diff": "@@ -74,6 +74,18 @@ rules:\n- watch\n- create\n- delete\n+ - apiGroups: [\"\"]\n+ resourceNames:\n+ - microk8s.io-hostpath\n+ resources:\n+ - endpoints\n+ ...
Python
Apache License 2.0
canonical/microk8s
Fix RBAC rules for new hostpath-provisioner
104,143
01.02.2022 14:29:55
-7,200
9b701a90d5485a70069c7f7eab137a0adc900c20
Upgrade containerd to 1.5.9
[ { "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.5.9 (#2899)
104,143
14.02.2022 15:10:42
-7,200
bd66571c197f6df33b989d1f543834ba75144c00
deprecated --address flag removed in version 1.24
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/default-args/kube-controller-manager", "new_path": "microk8s-resources/default-args/kube-controller-manager", "diff": "--root-ca-file=${SNAP_DATA}/certs/ca.crt\n--cluster-signing-cert-file=${SNAP_DATA}/certs/ca.crt\n--cluster-signing-key-fil...
Python
Apache License 2.0
canonical/microk8s
deprecated --address flag removed in version 1.24 (#2917)
104,073
15.02.2022 01:46:00
21,600
f4e78074e397bbf084ddaaf70a30ad255255421d
Delete addons dir if already created on previous build
[ { "change_type": "MODIFY", "old_path": "snap/snapcraft.yaml", "new_path": "snap/snapcraft.yaml", "diff": "@@ -533,6 +533,9 @@ parts:\n. build-scripts/set-env-variables.sh\npython3 build-scripts/fetch-addons.py --addons-only --target-directory core\n+ if [ -d \"addons\" ]; then\n+ rm -rf addons\n+ fi...
Python
Apache License 2.0
canonical/microk8s
Delete addons dir if already created on previous build (#2922)
104,143
16.02.2022 08:47:36
-7,200
4770a10bba058cd532afb066bf32a347e68dd5c4
Fix host-access IP configuration on kubelite restart
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-kubelite-with-args", "new_path": "microk8s-resources/wrappers/run-kubelite-with-args", "diff": "@@ -170,7 +170,7 @@ if [ -f \"${SNAP_DATA}/var/lock/host-access-enabled\" ] &&\n! ip link show lo:microk8s &> /dev/null\nthen\nIP_AD...
Python
Apache License 2.0
canonical/microk8s
Fix host-access IP configuration on kubelite restart (#2924)
104,143
18.02.2022 11:22:17
-7,200
1d237188645e8048aca3b2e894d6af56aece8ae4
Support multiple addon repositories
[ { "change_type": "ADD", "old_path": null, "new_path": "microk8s-resources/wrappers/microk8s-addons.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+export GIT_EXEC_PATH=\"$SNAP/usr/li...
Python
Apache License 2.0
canonical/microk8s
Support multiple addon repositories (#2919)
104,057
18.02.2022 13:10:18
-3,600
cafcae0e9c9e147ea50fc54c514c6f1964c53b10
Modify ownership of tmp folder
[ { "change_type": "MODIFY", "old_path": "snap/hooks/configure", "new_path": "snap/hooks/configure", "diff": "@@ -83,6 +83,9 @@ fi\n# Create the locks directory\nmkdir -p ${SNAP_DATA}/var/lock/\n+# Create tmp directory\n+mkdir -p ${SNAP_DATA}/tmp/\n+\n# This will allow us to refresh the snap to the mo...
Python
Apache License 2.0
canonical/microk8s
Modify ownership of tmp folder (#2901)
104,143
23.02.2022 15:35:49
-7,200
8958b9bcbe0f78fb9584b1b73f8b9ff393b0cd07
Properly resolve host IP with multiple default routes
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -347,7 +347,7 @@ wait_for_service_shutdown() {\nget_default_ip() {\n# Get the IP of the default interface\n- local DEFAULT_INTERFACE=\"$($SNAP/sb...
Python
Apache License 2.0
canonical/microk8s
Properly resolve host IP with multiple default routes (#2942)
104,058
28.02.2022 03:18:03
18,000
47b1aec561ccb1196abdd89712e2d15e0f4dbcdc
lxc: update /dev/kmsg type to unix-char
[ { "change_type": "MODIFY", "old_path": "tests/lxc/microk8s-zfs.profile", "new_path": "tests/lxc/microk8s-zfs.profile", "diff": "@@ -26,7 +26,7 @@ devices:\naadisable3:\npath: /dev/kmsg\nsource: /dev/kmsg\n- type: disk\n+ type: unix-char\naadisable4:\npath: /sys/fs/bpf\nsource: /sys/fs/bpf\n" }, ...
Python
Apache License 2.0
canonical/microk8s
lxc: update /dev/kmsg type to unix-char (#2946) (#2947) Signed-off-by: Caleb Lloyd <caleblloyd@gmail.com>
104,143
04.04.2022 13:32:44
-10,800
fe54fcd54f3f5f136f33628e763632d7f79efe40
Go cluster agent
[ { "change_type": "MODIFY", "old_path": "build-scripts/set-env-variables.sh", "new_path": "build-scripts/set-env-variables.sh", "diff": "@@ -55,6 +55,9 @@ community,${COMMUNITY_ADDONS_REPO:-https://github.com/canonical/microk8s-addons}\n\"\nexport ADDONS_REPOS_ENABLED=\"core\"\n+export CLUSTER_AGENT_...
Python
Apache License 2.0
canonical/microk8s
Go cluster agent (#3010)
104,143
06.04.2022 15:10:25
-10,800
7c1f214e8b72eaa7e8f9175098a8d3fa848f8ba8
Update containerd to v1.5.11
[ { "change_type": "MODIFY", "old_path": "build-scripts/set-env-variables.sh", "new_path": "build-scripts/set-env-variables.sh", "diff": "@@ -17,8 +17,8 @@ export KNATIVE_SERVING_VERSION=\"${KNATIVE_SERVING_VERSION:-v0.13.0}\"\nexport KNATIVE_EVENTING_VERSION=\"${KNATIVE_EVENTING_VERSION:-v0.13.0}\"\n...
Python
Apache License 2.0
canonical/microk8s
Update containerd to v1.5.11 (#3027)
104,143
07.04.2022 12:49:46
-10,800
d768be9509834d6ae22ce69c52a1603fcbb07433
Fix containerd build
[ { "change_type": "MODIFY", "old_path": "snap/snapcraft.yaml", "new_path": "snap/snapcraft.yaml", "diff": "@@ -425,7 +425,7 @@ parts:\noverride-build: |\nset -eux\n. $SNAPCRAFT_PART_SRC/set-env-variables.sh\n- snap refresh go --channel=1.15/stable || true\n+ snap refresh go --channel=1.17/stable || t...
Python
Apache License 2.0
canonical/microk8s
Fix containerd build (#3037)
104,143
11.04.2022 10:28:17
-10,800
66101a988d0f8f2e595da1ef2bdce91567e47831
Do not print path to wrapper script for start/stop/config commands
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/microk8s-config.wrapper", "new_path": "microk8s-resources/wrappers/microk8s-config.wrapper", "diff": "@@ -22,7 +22,7 @@ while true; do\nshift\n;;\n-h|--help)\n- echo \"Usage: $0 [OPTIONS]\"\n+ echo \"Usage: microk8s config [OPTIONS]...
Python
Apache License 2.0
canonical/microk8s
Do not print path to wrapper script for start/stop/config commands (#3046)
104,143
11.04.2022 19:36:10
-10,800
fd84967c731d8c572103af12d155e9e6c771fd30
Honor --skip-verify flag in microk8s join
[ { "change_type": "MODIFY", "old_path": "scripts/cluster/join.py", "new_path": "scripts/cluster/join.py", "diff": "@@ -723,7 +723,9 @@ def join_dqlite(connection_parts, verify=False, worker=False):\nfingerprint = None\nif len(connection_parts) > 2:\nfingerprint = connection_parts[2]\n- verify = True\...
Python
Apache License 2.0
canonical/microk8s
Honor --skip-verify flag in microk8s join (#3055)
104,143
11.04.2022 22:52:50
-10,800
757e6a2d96ba01a45bbd03232a4c80a046540c21
Restart cluster-agent in apiservice-kicker when needed
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/apiservice-kicker", "new_path": "microk8s-resources/wrappers/apiservice-kicker", "diff": "@@ -55,6 +55,9 @@ do\ncsr_modified=\"$(produce_certs)\"\nif [[ \"$csr_modified\" -eq \"1\" ]];\nthen\n+ echo \"CSR change detected. Restarting...
Python
Apache License 2.0
canonical/microk8s
Restart cluster-agent in apiservice-kicker when needed (#3054)
104,143
14.04.2022 07:47:12
-10,800
3d2187b17550e1087b90eeeb11cd169cdedcd1cf
fix name of cluster agent service
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/apiservice-kicker", "new_path": "microk8s-resources/wrappers/apiservice-kicker", "diff": "@@ -56,7 +56,7 @@ do\nif [[ \"$csr_modified\" -eq \"1\" ]];\nthen\necho \"CSR change detected. Restarting the cluster-agent\"\n- snapctl resta...
Python
Apache License 2.0
canonical/microk8s
fix name of cluster agent service (#3063)
104,051
18.04.2022 15:11:18
-7,200
b96a602be3f647fef4a2067b6fa1f586a28aa1b3
Handle help arguments more consistently across commands
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/microk8s-dashboard-proxy.wrapper", "new_path": "microk8s-resources/wrappers/microk8s-dashboard-proxy.wrapper", "diff": "@@ -9,4 +9,4 @@ source $SNAP/actions/common/utils.sh\nexit_if_no_permissions\n-LD_LIBRARY_PATH=$IN_SNAP_LD_LIBRA...
Python
Apache License 2.0
canonical/microk8s
Handle help arguments more consistently across commands (#3057)
104,143
19.04.2022 07:36:38
-10,800
7289c92a960de32084644461e564daa5ce38bd3f
Remove unused build-certs.sh script
[ { "change_type": "DELETE", "old_path": "build-scripts/build-certs.sh", "new_path": null, "diff": "-#!/usr/bin/env bash\n-\n-set -eu\n-\n-mkdir certs\n-openssl genrsa -sha256 -out ./certs/serviceaccount.key 2048\n-openssl genrsa -sha256 -out ./certs/ca.key 2048\n-openssl req -x509 -new -sha256 -nodes...
Python
Apache License 2.0
canonical/microk8s
Remove unused build-certs.sh script (#3075)
104,052
19.04.2022 14:15:23
-7,200
5a0d2243b164428f070ff6a6402b4f38bf4e9ec3
Fix ip counter in render csr template function
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "@@ -472,7 +472,11 @@ render_csr_conf() {\nlocal ips='' sep=''\nlocal -i i=3\nfor IP_ADDR in $(echo \"$IP_ADDRESSES\"); do\n- ips+=\"${sep}IP.$((i++)...
Python
Apache License 2.0
canonical/microk8s
Fix ip counter in render csr template function (#3059) (#3061)
104,143
03.05.2022 15:34:59
-10,800
275da7d8759b2a441bb1adde90642db1609781d6
remove the apparmor parameters mount from the microk8s profile
[ { "change_type": "MODIFY", "old_path": "tests/lxc/microk8s-zfs.profile", "new_path": "tests/lxc/microk8s-zfs.profile", "diff": "@@ -15,10 +15,6 @@ devices:\npath: /sys/module/nf_conntrack/parameters/hashsize\nsource: /sys/module/nf_conntrack/parameters/hashsize\ntype: disk\n- aadisable1:\n- path: /s...
Python
Apache License 2.0
canonical/microk8s
remove the apparmor parameters mount from the microk8s profile (#3122)
104,051
09.05.2022 10:03:19
-7,200
f5b15402a5bd6830622c616110fd4892e64c3a1b
Fix inconsistent CLI help sections in join and leave
[ { "change_type": "MODIFY", "old_path": ".github/workflows/check-unit-tests.yml", "new_path": ".github/workflows/check-unit-tests.yml", "diff": "@@ -21,3 +21,4 @@ jobs:\nrun: |\ntox -e scripts\ntox -e wrappers\n+ tox -e cluster\n" }, { "change_type": "MODIFY", "old_path": "scripts/cluster...
Python
Apache License 2.0
canonical/microk8s
Fix inconsistent CLI help sections in join and leave (#3119)
104,143
09.05.2022 21:12:23
-10,800
57fee80175309b6a65d638152897b314ce999e3b
improve handling for br_netfilter module try to load using modprobe from the host, fallback to the snap binary if that fails if br_netfilter module loads successfully, make sure to remove the --proxy-mode=userspace flag from kube-proxy
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-kubelite-with-args", "new_path": "microk8s-resources/wrappers/run-kubelite-with-args", "diff": "@@ -188,11 +188,25 @@ fi\nif ! [ -f /proc/sys/net/bridge/bridge-nf-call-iptables ]\nthen\n- if ! modprobe br_netfilter\n+ # NOTE(neo...
Python
Apache License 2.0
canonical/microk8s
improve handling for br_netfilter module (#3137) - try to load using modprobe from the host, fallback to the snap binary if that fails - if br_netfilter module loads successfully, make sure to remove the --proxy-mode=userspace flag from kube-proxy
104,143
10.05.2022 08:30:04
-10,800
0f427975a7ee14590eaada93f8c15fafd0f30493
do not use default-token for accessing dashboard
[ { "change_type": "MODIFY", "old_path": "scripts/wrappers/dashboard_proxy.py", "new_path": "scripts/wrappers/dashboard_proxy.py", "diff": "#!/usr/bin/python3\n-from subprocess import check_output\n+\n+import base64\n+import os\n+from subprocess import check_output, run\n+import time\n+\nimport click\...
Python
Apache License 2.0
canonical/microk8s
do not use default-token for accessing dashboard (#3139)
104,051
10.05.2022 08:31:18
-7,200
ba93b808125718556f8484f0d4a6f48d462764f2
Delete statefulsets on reset
[ { "change_type": "MODIFY", "old_path": "scripts/wrappers/reset.py", "new_path": "scripts/wrappers/reset.py", "diff": "@@ -41,10 +41,12 @@ def exit_if_multinode():\nsys.exit(0)\n-def disable_addon(repo, addon, args=[]):\n+def disable_addon(repo, addon, args=None):\n\"\"\"\nTry to disable an addon. Ig...
Python
Apache License 2.0
canonical/microk8s
Delete statefulsets on reset (#3135)
104,051
16.05.2022 14:17:18
-7,200
b8a3a74050876a4e8f180bd65a4b2391081a2d09
Validate installer arguments
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build-installer.yml", "new_path": ".github/workflows/build-installer.yml", "diff": "@@ -25,7 +25,7 @@ jobs:\nrun: python -m pip install -r ../requirements.txt\n- name: Build exe\nworking-directory: ${{ github.workspace }}/installer\n- run: py...
Python
Apache License 2.0
canonical/microk8s
Validate installer arguments (#3142)
104,109
26.05.2022 12:22:52
-10,800
361371859335af44e5956438213554a43e5b1d43
Enable addons to provide commands to the cli under $SNAP_COMMON/plugins
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/microk8s.wrapper", "new_path": "microk8s-resources/wrappers/microk8s.wrapper", "diff": "@@ -8,6 +8,13 @@ function help() {\necho -e \"\\t$(basename ${i} | sed 's/microk8s-//g' | sed 's/.wrapper//g')\"\ndone\necho -e \"\\tinspect\"\n...
Python
Apache License 2.0
canonical/microk8s
Enable addons to provide commands to the cli under $SNAP_COMMON/plugins (#3147)
104,051
26.05.2022 12:42:05
-7,200
fbc26c0f993242827f3501ad488aa4dba2e1af5d
Validate newly added addon repositories
[ { "change_type": "MODIFY", "old_path": "scripts/wrappers/addons.py", "new_path": "scripts/wrappers/addons.py", "diff": "@@ -4,8 +4,11 @@ import os\nimport shutil\nimport subprocess\nimport sys\n+from pathlib import Path\n+from typing import List\nimport click\n+import jsonschema\nimport yaml\nfrom c...
Python
Apache License 2.0
canonical/microk8s
Validate newly added addon repositories (#3125)
104,109
26.05.2022 19:08:12
-10,800
d2e742cec9d54bc087705812cfa8d4eb4c8fb8b6
Flush and delete cni-hostport-dnat rule on snap remove
[ { "change_type": "MODIFY", "old_path": "snap/hooks/remove", "new_path": "snap/hooks/remove", "diff": "@@ -31,6 +31,7 @@ then\niptables -D FORWARD -d \"$pod_cidr\" -m comment --comment \"generated for MicroK8s pods\" -j ACCEPT || true\niptables-nft -D FORWARD -s \"$pod_cidr\" -m comment --comment \"g...
Python
Apache License 2.0
canonical/microk8s
Flush and delete cni-hostport-dnat rule on snap remove (#3165)
104,051
27.05.2022 11:58:18
-7,200
26944b79f0a163eb7c9ce0734836c980b8fde349
Adding `--version` flag to microk8s
[ { "change_type": "ADD", "old_path": null, "new_path": "microk8s-resources/wrappers/microk8s-version.wrapper", "diff": "+#!/bin/bash\n+\n+set -eu\n+\n+export PATH=\"$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH\"\n+ARCH=\"$($SNAP/bin/uname -m)\"\n+export IN_SNAP_LD_LIBRARY_PATH=\"$SNAP/lib:...
Python
Apache License 2.0
canonical/microk8s
Adding `--version` flag to microk8s (#3078)
104,143
30.05.2022 18:45:10
-10,800
21b2d9d76dd01769ca8337bc52bfca4c87469cf5
cleanup calico interface and cni network namespaces on remove
[ { "change_type": "MODIFY", "old_path": "snap/hooks/remove", "new_path": "snap/hooks/remove", "diff": "@@ -58,3 +58,15 @@ then\nfi\nkill_all_container_shims\n+\n+# Cleanup calico interface.\n+if \"${SNAP}/sbin/ip\" link show vxlan.calico\n+then\n+ \"${SNAP}/sbin/ip\" link delete vxlan.calico || true\...
Python
Apache License 2.0
canonical/microk8s
cleanup calico interface and cni network namespaces on remove (#3174)
104,109
01.06.2022 16:06:23
-10,800
8b1649b9667297b3cd93e89918ab435d460e6ddf
Added a strict check so nano from snap is used for kubectl only when we are confined
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/microk8s-kubectl.wrapper", "new_path": "microk8s-resources/wrappers/microk8s-kubectl.wrapper", "diff": "@@ -22,6 +22,11 @@ then\nsource $SNAP_DATA/args/kubectl-env\nfi\n+if is_strict\n+then\n+ export EDITOR=\"${SNAP}/bin/nano\"\n+fi...
Python
Apache License 2.0
canonical/microk8s
Added a strict check so nano from snap is used for kubectl only when we are confined (#3186)
104,109
02.06.2022 09:53:31
-10,800
ac8c12efee4c844d67d5297b52a1b451ee4a9cdd
Added usergroup determination helper, updated hard-coded groups and new strict functions
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/actions/common/utils.sh", "new_path": "microk8s-resources/actions/common/utils.sh", "diff": "#!/usr/bin/env bash\n+get_microk8s_group() {\n+ if is_strict\n+ then\n+ echo \"snap_microk8s\"\n+ else\n+ echo \"microk8s\"\n+ fi\n+}\n+\nexit_if_no...
Python
Apache License 2.0
canonical/microk8s
Added usergroup determination helper, updated hard-coded groups and new strict functions (#3189)
104,109
02.06.2022 10:35:44
-10,800
45beaf2166507c2788b7bacfaf3ee50c03e9a42c
Added strict checks and combined logic into apparmor confinement and containerd boot detection
[ { "change_type": "MODIFY", "old_path": "microk8s-resources/wrappers/run-containerd-with-args", "new_path": "microk8s-resources/wrappers/run-containerd-with-args", "diff": "set -ex\n+source $SNAP/actions/common/utils.sh\n# Re-exec outside of apparmor confinement\n-if [ -d /sys/kernel/security/apparmo...
Python
Apache License 2.0
canonical/microk8s
Added strict checks and combined logic into apparmor confinement and containerd boot detection (#3190)
104,109
02.06.2022 10:48:56
-10,800
d545ec0545aa1fa7263f90bf777587e3f9773ee5
Add runc/containerd patches for strict confinement
[ { "change_type": "ADD", "old_path": null, "new_path": "build-scripts/patches/runc/0001-apparmor-change-profile-immediately-not-on-exec.patch", "diff": "+From 08607d16c6f9ef393e18e0f62fcd967e91c5f7c9 Mon Sep 17 00:00:00 2001\n+From: Alberto Mardegan <mardy@users.sourceforge.net>\n+Date: Wed, 16 Jun 2...
Python
Apache License 2.0
canonical/microk8s
Add runc/containerd patches for strict confinement (#3191)