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,073 | 30.04.2020 11:15:36 | 14,400 | 40da9d359daeb79bb01e4618414c2e54a9ead120 | dashboard-proxy command | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -10,6 +10,7 @@ microk8s_source.tar.bz2\ntests/__pycache__\n.idea/\n**/tests/*.pyc\n+.venv/\n.vscode/\n/installer/**/__pycache__\n/installer/dist/\n"
},
{
"change_type": "MODIFY",
"old_path": "insta... | Python | Apache License 2.0 | canonical/microk8s | dashboard-proxy command |
104,073 | 30.04.2020 15:31:24 | 14,400 | 033933fabc098a547b6e64c2e0528943268673bd | Check that dashboard is enabled and ready | [
{
"change_type": "MODIFY",
"old_path": "installer/cli/microk8s.py",
"new_path": "installer/cli/microk8s.py",
"diff": "@@ -207,7 +207,13 @@ def dashboard_proxy() -> None:\ninstance = vm_provider_class(echoer=echo)\n+ echo.info(\"Checking if Dashboard is running.\")\ncommand = [\"microk8s.enable\", \"... | Python | Apache License 2.0 | canonical/microk8s | Check that dashboard is enabled and ready |
104,062 | 04.05.2020 09:45:50 | -10,800 | 19669833f79562effce0e691de1761824c5a5b67 | Add timeout in waiting for dashboard proxy | [
{
"change_type": "MODIFY",
"old_path": "installer/cli/microk8s.py",
"new_path": "installer/cli/microk8s.py",
"diff": "@@ -212,7 +212,7 @@ def dashboard_proxy() -> None:\noutput = instance.run(command, hide_output=True)\nif b\"Addon dashboard is already enabled.\" not in output:\necho.info(\"Waiting ... | Python | Apache License 2.0 | canonical/microk8s | Add timeout in waiting for dashboard proxy |
104,062 | 07.05.2020 08:37:34 | -10,800 | a69b34e916376d4d7b894728b617c05686f6cbfc | Ensure packet forwarding is enabled when transitioning to calico | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/run-with-config-args",
"new_path": "microk8s-resources/wrappers/run-with-config-args",
"diff": "@@ -83,14 +83,28 @@ then\nn=$[$n+1]\nsleep 6\ndone\n-\nfi\n+\nif [ -e ${SNAP_DATA}/var/lock/stopped.lock ]\nthen\n# Mark the api server ... | Python | Apache License 2.0 | canonical/microk8s | Ensure packet forwarding is enabled when transitioning to calico (#1180) |
104,062 | 07.05.2020 13:01:44 | -10,800 | 4b665c4ec93529c4bb02c6af82457b59a137170e | Fix transition to calico permissions | [
{
"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": "@@ -21,28 +21,28 @@ cp -R \"$SNAP\"/opt/cni/bin/* \"$SNAP_DATA\"/opt/cni/bin/\necho \"Restarting services\"\ncp \"$SNAP_DATA\"... | Python | Apache License 2.0 | canonical/microk8s | Fix transition to calico permissions (#1183) |
104,152 | 07.05.2020 20:55:49 | -36,000 | fedb3f9a79f546762f78b1bc174b91249a051f40 | Fix ctr using overlayfs on zfs | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/common/utils.sh",
"new_path": "microk8s-resources/actions/common/utils.sh",
"diff": "@@ -172,6 +172,17 @@ arch() {\n}\n+snapshotter() {\n+ # Determine the underlying filesystem that containerd will be running on\n+ FSTYPE=$(stat -f -... | Python | Apache License 2.0 | canonical/microk8s | Fix ctr using overlayfs on zfs (#1182) |
104,078 | 11.05.2020 09:17:25 | -10,800 | 996559017296b5f3afdc69b4c8d5127171366450 | Update host-access addon to make permanent the network interface configuration | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/run-with-config-args",
"new_path": "microk8s-resources/wrappers/run-with-config-args",
"diff": "@@ -105,6 +105,19 @@ then\nfi\ndone\nfi\n+\n+ if [ \"${app}\" = \"kube-proxy\" ] &&\n+ [ -f \"${SNAP_DATA}/var/lock/host-access-enabled\... | Python | Apache License 2.0 | canonical/microk8s | Update host-access addon to make permanent the network interface configuration (#1171)
Co-authored-by: Konstantinos <kos.tsakalozos@canonical.com> |
104,062 | 12.05.2020 08:54:07 | -10,800 | 904d4ec7ec2ba2cef7752e2936c155ba2da66287 | Have dqlite gracefully depart a cluster | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/common/utils.sh",
"new_path": "microk8s-resources/actions/common/utils.sh",
"diff": "@@ -424,6 +424,9 @@ get_node() {\nfi\n}\n+wait_for_node() {\n+ get_node\n+}\ndrain_node() {\n# Drain node\n@@ -490,5 +493,6 @@ init_cluster() {\n$SN... | Python | Apache License 2.0 | canonical/microk8s | Have dqlite gracefully depart a cluster (#1186) |
104,062 | 13.05.2020 12:17:01 | -10,800 | ff4cc97c3da379993ac5f118f8a1756b86cec127 | New installations will use token auth and not basic auth | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/default-args/kube-apiserver",
"new_path": "microk8s-resources/default-args/kube-apiserver",
"diff": "--cert-dir=${SNAP_DATA}/certs\n--service-cluster-ip-range=10.152.183.0/24\n--authorization-mode=AlwaysAllow\n---basic-auth-file=${SNAP_DATA}... | Python | Apache License 2.0 | canonical/microk8s | New installations will use token auth and not basic auth (#1187) |
104,062 | 14.05.2020 07:22:09 | -10,800 | 8a71337a1454cfff0a70ed8fc7546fbf3efdbcb7 | Set IP masq to true | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/default-args/flanneld",
"new_path": "microk8s-resources/default-args/flanneld",
"diff": "--etcd-certfile=${SNAP_DATA}/certs/server.crt\n--etcd-keyfile=${SNAP_DATA}/certs/server.key\n--subnet-file=${SNAP_COMMON}/run/flannel/subnet.env\n+--ip-... | Python | Apache License 2.0 | canonical/microk8s | Set IP masq to true (#1145) |
104,062 | 18.05.2020 12:55:05 | -10,800 | fe9bed47d2c9bbe9582610af4149c339724f3cd2 | Set webhook argument on the enable script | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.prometheus.sh",
"new_path": "microk8s-resources/actions/enable.prometheus.sh",
"diff": "@@ -5,6 +5,9 @@ set -e\nsource $SNAP/actions/common/utils.sh\necho \"Enabling Prometheus\"\n+refresh_opt_in_config \"authentication-token-... | Python | Apache License 2.0 | canonical/microk8s | Set webhook argument on the enable script |
104,084 | 18.05.2020 19:07:19 | -19,080 | 03626ae5c645953b8b37c5b6f18fd4861d1e830c | Upgrade istio to v1.5.1. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.istio.sh",
"new_path": "microk8s-resources/actions/enable.istio.sh",
"diff": "@@ -9,14 +9,15 @@ echo \"Enabling Istio\"\nif [ ! -f \"${SNAP_DATA}/bin/istioctl\" ]\nthen\n- ISTIO_VERSION=\"v1.3.4\"\n+ ISTIO_VERSION=\"v1.5.1\"\n... | Python | Apache License 2.0 | canonical/microk8s | Upgrade istio to v1.5.1. (#1137)
Co-authored-by: Konstantinos <kos.tsakalozos@canonical.com> |
104,062 | 20.05.2020 11:05:39 | -10,800 | 80e9835fdeddf31b0a31301cbc474ca102fdfaac | Update helm to v2.16.7 | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.helm.sh",
"new_path": "microk8s-resources/actions/enable.helm.sh",
"diff": "@@ -10,7 +10,7 @@ echo \"Enabling Helm\"\nif [ ! -f \"${SNAP_DATA}/bin/helm\" ]\nthen\nSOURCE_URI=\"https://get.helm.sh\"\n- HELM_VERSION=\"v2.16.0\"\... | Python | Apache License 2.0 | canonical/microk8s | Update helm to v2.16.7 (#1206) |
104,062 | 20.05.2020 14:27:57 | -10,800 | 2a3d7125054554e7219fcb7755d5286e11b1a082 | Eliminate references to the microk8s.upgrade command | [
{
"change_type": "DELETE",
"old_path": "microk8s-resources/wrappers/microk8s-upgrade.wrapper",
"new_path": null,
"diff": "-#!/usr/bin/env 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=\... | Python | Apache License 2.0 | canonical/microk8s | Eliminate references to the microk8s.upgrade command (#1211) |
104,073 | 21.05.2020 14:31:38 | 14,400 | 2ec124c8744bd3207bde82dd0d3c42544ff1dc52 | Port of NSIS installer | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/workflows/build-installer.yml",
"diff": "+name: Build MicroK8s Installers\n+\n+on:\n+ push:\n+ branches:\n+ - '**install**'\n+ pull_request:\n+ branches:\n+ - '**install**'\n+\n+jobs:\n+ windows:\n+ runs-on: windows-latest\n+ defaults:\n... | Python | Apache License 2.0 | canonical/microk8s | Port of NSIS installer (#1213) |
104,073 | 21.05.2020 16:37:58 | 14,400 | 5312fa9c9ba42c1c60e8b2a192a49aceea5e252b | Lack of VM not being caught | [
{
"change_type": "MODIFY",
"old_path": "installer/cli/microk8s.py",
"new_path": "installer/cli/microk8s.py",
"diff": "@@ -10,7 +10,7 @@ from cli.echo import Echo\nfrom common.auxillary import Windows, MacOS\nfrom common.errors import BaseError\nfrom vm_providers.factory import get_provider_for\n-fro... | Python | Apache License 2.0 | canonical/microk8s | Lack of VM not being caught |
104,073 | 21.05.2020 16:58:17 | 14,400 | 9de7878b57cdd13f70d8159ef1c94ff75f4ff883 | Pyinstaller build dir matters | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build-installer.yml",
"new_path": ".github/workflows/build-installer.yml",
"diff": "@@ -24,7 +24,11 @@ jobs:\n- name: Install Python requirements\nrun: python -m pip install -r ../requirements.txt\n- name: Build exe\n- run: pyinstaller.exe --... | Python | Apache License 2.0 | canonical/microk8s | Pyinstaller build dir matters |
104,062 | 22.05.2020 16:12:06 | -10,800 | 9caa98676e11df7f8c5a6223a976534dad5964cc | Remove nf_conntrack_ipv4 from lxc profiles | [
{
"change_type": "MODIFY",
"old_path": "tests/lxc/microk8s-zfs.profile",
"new_path": "tests/lxc/microk8s-zfs.profile",
"diff": "name: microk8s\nconfig:\nboot.autostart: \"true\"\n- linux.kernel_modules: ip_vs,ip_vs_rr,ip_vs_wrr,ip_vs_sh,nf_conntrack_ipv4,ip_tables,ip6_tables,netlink_diag,nf_nat,over... | Python | Apache License 2.0 | canonical/microk8s | Remove nf_conntrack_ipv4 from lxc profiles (#1219) |
104,073 | 22.05.2020 09:23:08 | 14,400 | 89c691860574a1d1e04ac4f682b76937434306dc | Fix typos in windows installer README | [
{
"change_type": "MODIFY",
"old_path": "installer/windows/README.md",
"new_path": "installer/windows/README.md",
"diff": "@@ -10,7 +10,7 @@ Uses the NSIS package to create the installer.\n### Building\n-2 files must be places in the working directory before compiling the installer. These are:\n+2 fi... | Python | Apache License 2.0 | canonical/microk8s | Fix typos in windows installer README (#1217) |
104,062 | 26.05.2020 12:07:50 | -10,800 | bd3231a79829e11b01397daa59f9af38950a773b | Add br_netfilter in the lxc profiles used in tests | [
{
"change_type": "MODIFY",
"old_path": "tests/lxc/microk8s-zfs.profile",
"new_path": "tests/lxc/microk8s-zfs.profile",
"diff": "name: microk8s\nconfig:\nboot.autostart: \"true\"\n- linux.kernel_modules: ip_vs,ip_vs_rr,ip_vs_wrr,ip_vs_sh,ip_tables,ip6_tables,netlink_diag,nf_nat,overlay\n+ linux.kerne... | Python | Apache License 2.0 | canonical/microk8s | Add br_netfilter in the lxc profiles used in tests (#1234) |
104,062 | 27.05.2020 11:25:21 | -10,800 | c256d7a007e2d5a6620196e778839d4dc9499064 | Fixes for default track tan testing istio | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -32,4 +32,4 @@ script:\n- (cd tests; sudo -E pytest -s -ra test-addons.py)\n- sudo microk8s reset\n- sudo snap remove microk8s\n- - sudo -E UPGRADE_MICROK8S_FROM=edge UPGRADE_MICROK8S_TO=`pwd`/`ls microk8s*.... | Python | Apache License 2.0 | canonical/microk8s | Fixes for default track tan testing istio (#1238) |
104,062 | 28.05.2020 15:14:30 | -10,800 | 9020aa209dc8b27d8705a0faa0bcc52c3f0e153a | Transition scripts from dqlite and calico to flannel and etcd | [
{
"change_type": "MODIFY",
"old_path": "upgrade-scripts/001-switch-to-dqlite/commit-master.sh",
"new_path": "upgrade-scripts/001-switch-to-dqlite/commit-master.sh",
"diff": "#!/bin/bash\n-set -e\n+set -ex\necho \"Switching master to dqlite\"\n"
},
{
"change_type": "MODIFY",
"old_path": "... | Python | Apache License 2.0 | canonical/microk8s | Transition scripts from dqlite and calico to flannel and etcd (#1209) |
104,062 | 29.05.2020 11:02:01 | -10,800 | 7c5fe38c0d3d94d50059ed4bcd72e25c59194c8c | Add a pytest for clustering | [
{
"change_type": "MODIFY",
"old_path": "tests/test-cluster.py",
"new_path": "tests/test-cluster.py",
"diff": "+import string\n+import random\n+import time\n+\nimport pytest\n+import os\n+import subprocess\n+from os import path\n+\n+# Provide a list of VMs you want to reuse. VMs should have already m... | Python | Apache License 2.0 | canonical/microk8s | Add a pytest for clustering (#1247) |
104,062 | 21.05.2020 14:44:09 | -10,800 | a665a651d489b09341cd8cb2d4ea14878ff9e6c1 | Remove crashed nodes | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-remove-node.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-remove-node.wrapper",
"diff": "@@ -11,9 +11,17 @@ export PYTHONNOUSERSITE=false\nsource $SNAP/actions/common/utils.sh\nif echo \"$*\" | grep -q -- 'hel... | Python | Apache License 2.0 | canonical/microk8s | Remove crashed nodes |
104,062 | 28.05.2020 23:36:30 | -10,800 | 706e72e36756f40380e02132a5c6f1c16a924773 | Use requests and not curl to delete node | [
{
"change_type": "MODIFY",
"old_path": "scripts/cluster/join.py",
"new_path": "scripts/cluster/join.py",
"diff": "@@ -387,12 +387,16 @@ def delete_dqlite_node(delete_node, dqlite_ep):\nif len(delete_node) > 0 and \"127.0.0.1\" not in delete_node[0]:\nfor ep in dqlite_ep:\ntry:\n- subprocess.check_ou... | Python | Apache License 2.0 | canonical/microk8s | Use requests and not curl to delete node |
104,062 | 20.05.2020 15:34:44 | -10,800 | 46e61a79b3881abff9bfd9b96f20713c382481f2 | improving the HA UX experience | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/common/utils.sh",
"new_path": "microk8s-resources/actions/common/utils.sh",
"diff": "@@ -425,7 +425,7 @@ get_node() {\n}\nwait_for_node() {\n- get_node\n+ get_node &> /dev/null\n}\ndrain_node() {\n@@ -494,5 +494,9 @@ init_cluster() {... | Python | Apache License 2.0 | canonical/microk8s | improving the HA UX experience |
104,062 | 29.05.2020 00:44:55 | -10,800 | 2b24e6feb4f25901ad1b215d227b64aaf8547dd9 | Fix server certs | [
{
"change_type": "MODIFY",
"old_path": "scripts/cluster/join.py",
"new_path": "scripts/cluster/join.py",
"diff": "@@ -685,6 +685,10 @@ def update_dqlite(cluster_cert, cluster_key, voters, host):\ntime.sleep(5)\nwaits -= 1\nprint(\" \")\n+\n+ with open(\"{}//certs/csr.conf\".format(snapdata_path), 'w... | Python | Apache License 2.0 | canonical/microk8s | Fix server certs |
104,062 | 29.05.2020 08:29:00 | -10,800 | 0ebb27bd0c369c8dff7c9ddbdf7ad18139eae388 | Remove unused certs | [
{
"change_type": "MODIFY",
"old_path": "scripts/cluster/agent.py",
"new_path": "scripts/cluster/agent.py",
"diff": "@@ -568,11 +568,7 @@ def join_node_dqlite():\nreturn jsonify(ca=get_cert(\"ca.crt\"),\nca_key=get_cert(\"ca.key\"),\n- server_cert=get_cert(\"server.crt\"),\n- server_cert_key=get_cert... | Python | Apache License 2.0 | canonical/microk8s | Remove unused certs |
104,062 | 29.05.2020 01:31:38 | -10,800 | 0f012e217b38c4f472b1200ea9dd3c0153ca48e6 | Use single admin token in cluster | [
{
"change_type": "MODIFY",
"old_path": "scripts/cluster/agent.py",
"new_path": "scripts/cluster/agent.py",
"diff": "@@ -575,7 +575,8 @@ def join_node_dqlite():\ncallback_token=callback_token,\napiport=api_port,\nkubelet_args=kubelet_args,\n- hostname_override=node_addr)\n+ hostname_override=node_add... | Python | Apache License 2.0 | canonical/microk8s | Use single admin token in cluster |
104,062 | 02.06.2020 14:57:52 | -10,800 | 08e64e31fedc9832d1425163192d20c3bb5f95a5 | No not inspect etcd and flannel when in HA mode | [
{
"change_type": "MODIFY",
"old_path": "scripts/inspect.sh",
"new_path": "scripts/inspect.sh",
"diff": "@@ -230,7 +230,6 @@ check_certificates\nprintf -- 'Inspecting services\\n'\ncheck_service \"snap.microk8s.daemon-cluster-agent\"\n-check_service \"snap.microk8s.daemon-flanneld\"\ncheck_service \"... | Python | Apache License 2.0 | canonical/microk8s | No not inspect etcd and flannel when in HA mode (#1259) |
104,062 | 05.06.2020 13:08:04 | -10,800 | e12e31b5204cf9b3c358adc1f536295c7c2a3eca | Build pre-stable releases with its own dqlite patch | [
{
"change_type": "MODIFY",
"old_path": "build-scripts/build-k8s-binaries.sh",
"new_path": "build-scripts/build-k8s-binaries.sh",
"diff": "@@ -17,7 +17,14 @@ go get -d $KUBERNETES_REPOSITORY || true\ngit checkout $KUBERNETES_TAG\ngit config user.email \"microk8s-builder-bot@ubuntu.com\"\ngit config u... | Python | Apache License 2.0 | canonical/microk8s | Build pre-stable releases with its own dqlite patch (#1271) |
104,073 | 05.06.2020 12:32:30 | 14,400 | b6be5f9c2a941b8f85b5b822e530e6a1c61db158 | Force passthrough of silent install to multipass | [
{
"change_type": "MODIFY",
"old_path": "installer/windows/microk8s.nsi",
"new_path": "installer/windows/microk8s.nsi",
"diff": "@@ -53,7 +53,11 @@ Section \"Multipass (Required)\" multipass_id\nbeginMultipass:\nSetOutPath $INSTDIR\nFile \"multipass.exe\"\n+ ${If} ${Silent}\n+ ExecWait \"multipass.ex... | Python | Apache License 2.0 | canonical/microk8s | Force passthrough of silent install to multipass (#1268) |
104,062 | 09.06.2020 20:17:09 | -10,800 | c635cd2a5c7e8f9009e66198ac42834a394a8016 | Build with lxd without sudo | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build-snap.yml",
"new_path": ".github/workflows/build-snap.yml",
"diff": "@@ -22,11 +22,12 @@ jobs:\nsudo /snap/bin/lxd.migrate -yes\nsudo /snap/bin/lxd waitready\nsudo /snap/bin/lxd init --auto\n+ sudo usermod --append --groups lxd $USER\n- ... | Python | Apache License 2.0 | canonical/microk8s | Build with lxd without sudo (#1284) |
104,110 | 09.06.2020 21:17:34 | -7,200 | c121fd1f78615cc7e278e4035699dacb200b6042 | Support for NGINX Ingress Controller default certificate
* Support for NGINX Ingress Controller default certificate
Added support for optional NGINX Ingress Controller default certificate.
See | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/disable.ingress.sh",
"new_path": "microk8s-resources/actions/disable.ingress.sh",
"diff": "@@ -8,6 +8,7 @@ echo \"Disabling Ingress\"\nARCH=$(arch)\nTAG=\"0.25.1\"\n+DEFAULT_CERT=\"- ' '\" # This default value is always fine when del... | Python | Apache License 2.0 | canonical/microk8s | Support for NGINX Ingress Controller default certificate (#1231)
* Support for NGINX Ingress Controller default certificate
Added support for optional NGINX Ingress Controller default certificate.
See https://kubernetes.github.io/ingress-nginx/user-guide/tls/#default-ssl-certificate
Co-authored-by: Konstantinos... |
104,073 | 11.06.2020 03:43:15 | 14,400 | 343da35ce7b687526064e6eb6bc942728764fc1d | Pull Multipass v3.0.0 | [
{
"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://people.canonical.com... | Python | Apache License 2.0 | canonical/microk8s | Pull Multipass v3.0.0 (#1289) |
104,056 | 11.06.2020 09:58:05 | -7,200 | 2a0e756c2061dc0e59a5dabda8ecb6d90bc0fbba | Fix long option "--check" of refresh certs command
This tiny fix simply makes `-c` and `--check` behave the same. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-refresh-certs.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-refresh-certs.wrapper",
"diff": "@@ -18,7 +18,7 @@ BACKUP=$SNAP_DATA/var/log/ca-backup/\nINSTALL=false\nUNDO=false\nCHECK=false\n-PARSED=$(getopt --o... | Python | Apache License 2.0 | canonical/microk8s | Fix long option "--check" of refresh certs command (#1290)
This tiny fix simply makes `-c` and `--check` behave the same. |
104,088 | 12.06.2020 02:44:40 | 18,000 | 13e6fa5468037a6ea8c0f214b1350c200fe00d9a | Add connectivity check before enabling Kubeflow | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -9,10 +9,16 @@ import sys\nimport tempfile\nimport textwrap\nimport time\n-from itertools import count\nfrom distutils.util import strtoboo... | Python | Apache License 2.0 | canonical/microk8s | Add connectivity check before enabling Kubeflow (#1296) |
104,062 | 12.06.2020 10:58:24 | -10,800 | 78c7788ce310b1b4da9b1e9939e81d9a35926f01 | Update nvidia packages
This makes gpu work out of the box at least on ubuntu 20.04 | [
{
"change_type": "MODIFY",
"old_path": "snapcraft.yaml",
"new_path": "snapcraft.yaml",
"diff": "@@ -437,7 +437,7 @@ parts:\n# b) the version dependencies of each package is met.\nnvidia-runtime:\nplugin: dump\n- source: https://nvidia.github.io/nvidia-container-runtime/ubuntu16.04/amd64/nvidia-conta... | Python | Apache License 2.0 | canonical/microk8s | Update nvidia packages (#1299)
This makes gpu work out of the box at least on ubuntu 20.04
Co-authored-by: Nikolay Martynov <(none)> |
104,128 | 17.06.2020 09:37:16 | -10,800 | e2897bf2fe74b86f4569366babfc0cd0715f522d | dashboard set imagePullPolicy: IfNotPresent
fixes | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/dashboard.yaml",
"new_path": "microk8s-resources/actions/dashboard.yaml",
"diff": "@@ -168,7 +168,7 @@ spec:\ncontainers:\n- name: kubernetes-dashboard\nimage: kubernetesui/dashboard:v2.0.0\n- imagePullPolicy: Always\n+ imagePullPoli... | Python | Apache License 2.0 | canonical/microk8s | dashboard set imagePullPolicy: IfNotPresent (#1305)
fixes https://github.com/ubuntu/microk8s/issues/601 |
104,088 | 19.06.2020 11:11:31 | 18,000 | 81753b8ea1d7a4af6075ce2b6a4318671e65ddca | Pin kubeflow version
* Pin Kubeflow version
So that we can update the stable bundle without breaking older versions
of microk8s.
* Update Juju version
Bumps up point release to latest stable version | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -106,6 +106,7 @@ def get_hostname():\ndef main():\npassword = os.environ.get(\"KUBEFLOW_AUTH_PASSWORD\") or get_random_pass()\n+ bundle = o... | Python | Apache License 2.0 | canonical/microk8s | Pin kubeflow version (#1331)
* Pin Kubeflow version
So that we can update the stable bundle without breaking older versions
of microk8s.
* Update Juju version
Bumps up point release to latest stable version |
104,074 | 22.06.2020 11:52:37 | -7,200 | a518228606f98b07ae9e44026e40778f94a68358 | Change calico-node pods log level
Increase log filter: from info to error (fix for | [
{
"change_type": "MODIFY",
"old_path": "docs/build.md",
"new_path": "docs/build.md",
"diff": "@@ -84,6 +84,7 @@ At the time of the v3.13.2 release. The `calico.yaml` manifest is a slightly mod\n1. host-local-net-dir to /var/snap/microk8s/current/var/lib/cni/networks\n1. policysync to /var/snap/micro... | Python | Apache License 2.0 | canonical/microk8s | Change calico-node pods log level (#1335)
Increase log filter: from info to error (fix for #1334) |
104,062 | 29.06.2020 11:37:36 | -10,800 | 5bbe20e66e4fb5ca156b76c872a9b85c5fa98bae | Do nto display dashboard-proxy twice | [
{
"change_type": "MODIFY",
"old_path": "installer/cli/microk8s.py",
"new_path": "installer/cli/microk8s.py",
"diff": "@@ -289,8 +289,6 @@ def _not_installed(echo) -> None:\ndef _get_microk8s_commands() -> List:\n- additional_commands = ['dashboard-proxy']\n-\nvm_provider_name = \"multipass\"\nvm_pro... | Python | Apache License 2.0 | canonical/microk8s | Do nto display dashboard-proxy twice |
104,062 | 02.07.2020 10:11:55 | -10,800 | 7b95adb191ac588d9639a26f79ffcf25f228feff | Test the refresh path from an old track (1.14) althe way to now | [
{
"change_type": "MODIFY",
"old_path": "tests/test-upgrade.py",
"new_path": "tests/test-upgrade.py",
"diff": "+import pytest\nimport os\nimport platform\nimport time\n+import requests\nfrom validators import (\nvalidate_dns_dashboard,\nvalidate_storage,\n@@ -17,7 +19,12 @@ from validators import (\n... | Python | Apache License 2.0 | canonical/microk8s | Test the refresh path from an old track (1.14) althe way to now (#1330) |
104,062 | 02.07.2020 16:31:02 | -10,800 | 29e41e4ddd62df08a52c570d12b2f3b64427e472 | Update nvidia-container-runtime to 3.2.0 | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "microk8s-resources/default-args/nvidia-container-runtime/config.toml",
"diff": "+disable-require = false\n+#swarm-resource = \"DOCKER_RESOURCE_GPU\"\n+\n+[nvidia-container-cli]\n+#root = \"/run/nvidia/driver\"\n+path = \"/snap/microk8s/current/u... | Python | Apache License 2.0 | canonical/microk8s | Update nvidia-container-runtime to 3.2.0 |
104,062 | 07.07.2020 12:07:34 | -10,800 | 8f033b73cf7a2177facf8e5dcf4f16ba555544a5 | Tests on GH
Under time pressure tests are running on GH.
The refresh path test is also run on GH. | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build-snap.yml",
"new_path": ".github/workflows/build-snap.yml",
"diff": "@@ -34,3 +34,26 @@ jobs:\nwith:\nname: microk8s.snap\npath: microk8s.snap\n+ - name: Running upgrade path test\n+ run: |\n+ set -x\n+ sudo pip3 install --upgrade pip\n+... | Python | Apache License 2.0 | canonical/microk8s | Tests on GH (#1376)
Under time pressure tests are running on GH.
The refresh path test is also run on GH. |
104,062 | 07.07.2020 12:48:08 | -10,800 | 0e17e6efc9c0ff041149add10e30563e1b5cf6e6 | Update stale bot to close issues after 30 days | [
{
"change_type": "MODIFY",
"old_path": ".github/stale.yml",
"new_path": ".github/stale.yml",
"diff": "@@ -5,7 +5,7 @@ daysUntilStale: 330\n# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.\n# Set to false to disable. If disabled, issues still need to be c... | Python | Apache License 2.0 | canonical/microk8s | Update stale bot to close issues after 30 days (#1386) |
104,062 | 08.07.2020 19:25:12 | -10,800 | a4685a4f7c2bd86f430886fe0edcc7b036382a83 | Fix: Detect the admin token on refresh cert | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-refresh-certs.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-refresh-certs.wrapper",
"diff": "@@ -90,15 +90,21 @@ function refresh {\n# Create the basic tokens\necho \"Creating new kubeconfig file\"\n- admin_to... | Python | Apache License 2.0 | canonical/microk8s | Fix: Detect the admin token on refresh cert (#1393) |
104,141 | 10.07.2020 08:47:03 | -7,200 | 8bfe7020d24095ed486e08eec94210c9b4c3864f | Support for Ambassador
Support for Ambassador as an API Gateway and Ingress Controller. | [
{
"change_type": "MODIFY",
"old_path": "installer/common/definitions.py",
"new_path": "installer/common/definitions.py",
"diff": "MAX_CHARACTERS_WRAP: int = 120\ncommand_descriptions = {\n'add-node': \"Adds a node to a cluster\",\n+ 'ambassador': \"Ambassador API Gateway and Ingress\",\n'cilium': \"... | Python | Apache License 2.0 | canonical/microk8s | Support for Ambassador (#1318)
Support for Ambassador as an API Gateway and Ingress Controller.
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com> |
104,121 | 13.07.2020 16:49:46 | -19,080 | 69040b715ff638be29c8f0516cf2f20c74b5c20e | Support for multiple IP Ranges in Metallb config | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.metallb.sh",
"new_path": "microk8s-resources/actions/enable.metallb.sh",
"diff": "@@ -23,24 +23,30 @@ fi\nread -ra ARGUMENTS <<< \"$1\"\nif [ -z \"${ARGUMENTS[@]}\" ]\nthen\n- read -p \"Enter the IP address range (e.g., 10.64.... | Python | Apache License 2.0 | canonical/microk8s | Support for multiple IP Ranges in Metallb config (#1367) |
104,062 | 14.07.2020 16:50:58 | -10,800 | d2d98e44eba8fc91bab7a5a805e5ed60cb08fe8d | Move test-upgrade-path test to its own TestClass | [
{
"change_type": "MODIFY",
"old_path": "tests/test-distro.sh",
"new_path": "tests/test-distro.sh",
"diff": "@@ -60,6 +60,13 @@ create_machine $NAME $PROXY\nlxc exec $NAME -- script -e -c \"UPGRADE_MICROK8S_FROM=${FROM_CHANNEL} UPGRADE_MICROK8S_TO=${TO_CHANNEL} pytest -s /var/tmp/tests/test-upgrade.p... | Python | Apache License 2.0 | canonical/microk8s | Move test-upgrade-path test to its own TestClass (#1405) |
104,062 | 17.07.2020 13:40:46 | -10,800 | 585804f6bcee80337a454c404103751ee5bfa9e6 | Removing multus from arm64 | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/multus.yaml",
"new_path": "microk8s-resources/actions/multus.yaml",
"diff": "@@ -136,62 +136,3 @@ spec:\n- name: cnibin\nhostPath:\npath: \"{{SNAP_DATA}}/opt/cni/bin/\"\n----\n-apiVersion: apps/v1\n-kind: DaemonSet\n-metadata:\n- nam... | Python | Apache License 2.0 | canonical/microk8s | Removing multus from arm64 (#1413) |
104,062 | 17.07.2020 13:50:10 | -10,800 | da68753df1c31f02b75d3fd87690a7f592454ea5 | On arm64 start testing the upgrade path from 1.15 | [
{
"change_type": "MODIFY",
"old_path": "tests/test-upgrade-path.py",
"new_path": "tests/test-upgrade-path.py",
"diff": "@@ -28,7 +28,10 @@ class TestUpgradePath(object):\nDeploy an old snap and try to refresh until the current one.\n\"\"\"\n+ if platform.machine() == 'x86_64':\nstart_channel = 14\n+... | Python | Apache License 2.0 | canonical/microk8s | On arm64 start testing the upgrade path from 1.15 (#1414) |
104,062 | 20.07.2020 16:29:51 | -10,800 | c5af89269cf92db9aea18b4e7c79f6358f345300 | Do not test upgrades on Travis | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -33,4 +33,3 @@ script:\n- (cd tests; sudo -E pytest -s -ra test-addons.py)\n- sudo microk8s reset\n- sudo snap remove microk8s\n- - sudo -E UPGRADE_MICROK8S_FROM=latest/edge UPGRADE_MICROK8S_TO=`pwd`/`ls mic... | Python | Apache License 2.0 | canonical/microk8s | Do not test upgrades on Travis (#1420) |
104,088 | 20.07.2020 10:11:30 | 18,000 | f0235e0503c2e0b1b67c8d99200f0944656771b3 | Add multiple bundle options for Kubeflow
Adds the ability to set `KUBEFLOW_BUNDLE` to one of full, lite, or edge.
This will let people kick the tires on Kubeflow on their laptops,
without having to have a beast of a laptop. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -106,7 +106,7 @@ def get_hostname():\ndef main():\npassword = os.environ.get(\"KUBEFLOW_AUTH_PASSWORD\") or get_random_pass()\n- bundle = o... | Python | Apache License 2.0 | canonical/microk8s | Add multiple bundle options for Kubeflow (#1412)
Adds the ability to set `KUBEFLOW_BUNDLE` to one of full, lite, or edge.
This will let people kick the tires on Kubeflow on their laptops,
without having to have a beast of a laptop. |
104,062 | 22.07.2020 10:43:29 | -10,800 | 2f486d4e91573dd5391742966a390d13ac070599 | Re-enable knative testing | [
{
"change_type": "MODIFY",
"old_path": "tests/test-addons.py",
"new_path": "tests/test-addons.py",
"diff": "@@ -122,11 +122,11 @@ class TestAddons(object):\nmicrok8s_enable(\"knative\")\nprint(\"Validating Istio\")\nvalidate_istio()\n- # print(\"Validating Knative\")\n- # validate_knative()\n- # pri... | Python | Apache License 2.0 | canonical/microk8s | Re-enable knative testing (#1426) |
104,062 | 23.07.2020 17:02:07 | -10,800 | c61d76ef02c2362d6dcc72570038e9738d85756c | NO_PROXY info in containerd-end comments | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/default-args/containerd-env",
"new_path": "microk8s-resources/default-args/containerd-env",
"diff": "#\n# HTTPS_PROXY=https://squid.internal:3128\n#\n+# You may also want to set NO_PROXY to include the cluster-cidr and the services-cidr\n+# ... | Python | Apache License 2.0 | canonical/microk8s | NO_PROXY info in containerd-end comments (#1428) |
104,088 | 29.07.2020 04:49:55 | 18,000 | aa95b99a79acd09bf2d6de833c4fd1eba91f03b4 | Regular Kubeflow argument handling
Updates it to match how other addons handle arguments, instead of
environment variables. Keeps the environment variables around for now. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "#!/usr/bin/env python3\n+import csv\nimport json\nimport os\nimport random\n@@ -105,13 +106,27 @@ def get_hostname():\ndef main():\n- password... | Python | Apache License 2.0 | canonical/microk8s | Regular Kubeflow argument handling (#1441)
Updates it to match how other addons handle arguments, instead of
environment variables. Keeps the environment variables around for now. |
104,140 | 29.07.2020 13:11:11 | -3,600 | 8aa2a3bcf52cb0cca616805c7a148bff32536fda | Update wording for add-node | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-add-node.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-add-node.wrapper",
"diff": "@@ -65,7 +65,8 @@ fi\ndefault_ip=\"$(get_default_ip)\"\nall_ips=\"$(get_ips)\"\n-echo \"Join node with: microk8s join ${defaul... | Python | Apache License 2.0 | canonical/microk8s | Update wording for add-node (#1389) |
104,088 | 30.07.2020 03:51:42 | 18,000 | 1e18f12fa3314eaa1f72bab5b6e300a11a6943ee | Improve Kubeflow hostname handling
Fixes issue where a user might specify a port, and the kubeflow enable
script blindly appends another port, for something like `foo:123:456`. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -13,8 +13,8 @@ import time\nfrom distutils.util import strtobool\nfrom itertools import count\nfrom urllib.error import URLError\n+from url... | Python | Apache License 2.0 | canonical/microk8s | Improve Kubeflow hostname handling (#1449)
Fixes issue where a user might specify a port, and the kubeflow enable
script blindly appends another port, for something like `foo:123:456`. |
104,062 | 31.07.2020 09:28:03 | -10,800 | fce56986b2833c70aa2e7045dc01bf9624328340 | Fix github action tests | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build-snap.yml",
"new_path": ".github/workflows/build-snap.yml",
"diff": "@@ -37,6 +37,7 @@ jobs:\n- name: Running upgrade path test\nrun: |\nset -x\n+ sudo apt-get install python3-setuptools\nsudo pip3 install --upgrade pip\nsudo pip3 instal... | Python | Apache License 2.0 | canonical/microk8s | Fix github action tests (#1456) |
104,062 | 31.07.2020 15:38:33 | -10,800 | c14337203fcb083161fc0af37e93eb6e9a21ea78 | Enable snapcraft verbose output | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -19,7 +19,7 @@ script:\n- sudo /snap/bin/lxd waitready\n- sudo /snap/bin/lxd init --auto\n- sudo usermod --append --groups lxd $USER\n- - sg lxd -c 'snapcraft --use-lxd'\n+ - sg lxd -c 'SNAPCRAFT_ENABLE_DEVE... | Python | Apache License 2.0 | canonical/microk8s | Enable snapcraft verbose output (#1459) |
104,073 | 10.08.2020 13:27:00 | 14,400 | 13773f3e263dfc3294da662c1446186ef4f2bbe1 | Update containerd to 1.3.7 | [
{
"change_type": "MODIFY",
"old_path": "build-scripts/set-env-variables.sh",
"new_path": "build-scripts/set-env-variables.sh",
"diff": "@@ -16,10 +16,10 @@ export CNI_VERSION=\"${CNI_VERSION:-v0.7.1}\"\nexport KNATIVE_SERVING_VERSION=\"${KNATIVE_SERVING_VERSION:-v0.13.0}\"\nexport KNATIVE_EVENTING_V... | Python | Apache License 2.0 | canonical/microk8s | Update containerd to 1.3.7 |
104,088 | 11.08.2020 05:44:13 | 18,000 | 7f98aff4a05585d7255d2265d795157dd1cf8db1 | Add additional connectivity check when enabling Kubeflow
Ensures that api.jujucharms.com is available from within the Kubernetes
cluster, instead of just available from within the host. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -67,6 +67,49 @@ def juju(*args, **kwargs):\nreturn run(\"microk8s-juju.wrapper\", *args, **kwargs)\n+def check_connectivity():\n+ \"\"\"Che... | Python | Apache License 2.0 | canonical/microk8s | Add additional connectivity check when enabling Kubeflow (#1477)
Ensures that api.jujucharms.com is available from within the Kubernetes
cluster, instead of just available from within the host. |
104,062 | 17.08.2020 17:41:41 | -10,800 | df8fe98eed331a0fe5acb92edf032cff0506621c | Fix multus update | [
{
"change_type": "MODIFY",
"old_path": "snap/hooks/configure",
"new_path": "snap/hooks/configure",
"diff": "@@ -357,6 +357,19 @@ fi\nif [ -f \"${SNAP_DATA}/args/cni-network/00-multus.conf\" ]\nthen\necho \"Multus is enabled we need to reconfigure it.\"\n+ start_timer=\"$(date +%s)\"\n+ # Wait up to ... | Python | Apache License 2.0 | canonical/microk8s | Fix multus update (#1493) |
104,062 | 18.08.2020 12:02:40 | -10,800 | 1b2d6382d32cb591650dab8de48b2786cdd749f1 | Add delay for the fluentd deletion | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/disable.fluentd.sh",
"new_path": "microk8s-resources/actions/disable.fluentd.sh",
"diff": "@@ -17,5 +17,7 @@ $KUBECTL -n kube-system delete daemonset fluentd-es-v2.2.0 || true\n$KUBECTL label nodes \"$NODENAME\" beta.kubernetes.io/fl... | Python | Apache License 2.0 | canonical/microk8s | Add delay for the fluentd deletion (#1494) |
104,062 | 19.08.2020 09:01:35 | -10,800 | cda7c1714da6f2ccf7f9d216b328070a4787f82a | Do not reenable multus on configure hook | [
{
"change_type": "MODIFY",
"old_path": "snap/hooks/configure",
"new_path": "snap/hooks/configure",
"diff": "@@ -354,26 +354,6 @@ then\nsnapctl restart ${SNAP_NAME}.daemon-apiserver\nfi\n-if [ -f \"${SNAP_DATA}/args/cni-network/00-multus.conf\" ]\n-then\n- echo \"Multus is enabled we need to reconfig... | Python | Apache License 2.0 | canonical/microk8s | Do not reenable multus on configure hook (#1496) |
104,062 | 19.08.2020 15:11:27 | -10,800 | 500e5f48f1080cae8aab79619c8d7ae16d4111ca | Set openssl conf path on metallb | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.metallb.sh",
"new_path": "microk8s-resources/actions/enable.metallb.sh",
"diff": "@@ -4,6 +4,8 @@ set -e\nsource $SNAP/actions/common/utils.sh\n+export OPENSSL_CONF=\"/snap/microk8s/current/etc/ssl/openssl.cnf\"\n+\nKUBECTL=\"... | Python | Apache License 2.0 | canonical/microk8s | Set openssl conf path on metallb (#1498) |
104,144 | 20.08.2020 03:08:32 | 14,400 | 85224722409ee3e3c0ea1de3862ae722860bbca8 | configure multus to use symlinked current SNAP_DATA locations | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.multus.sh",
"new_path": "microk8s-resources/actions/enable.multus.sh",
"diff": "@@ -5,6 +5,7 @@ set -e\nsource \"${SNAP}/actions/common/utils.sh\"\nKUBECTL=\"${SNAP}/kubectl --kubeconfig=${SNAP_DATA}/credentials/client.config\... | Python | Apache License 2.0 | canonical/microk8s | configure multus to use symlinked current SNAP_DATA locations (#1502) |
104,062 | 20.08.2020 10:15:05 | -10,800 | 43f701851a1f3c112864a82c221ec5edbedc757b | Bring your own CA | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/common/utils.sh",
"new_path": "microk8s-resources/actions/common/utils.sh",
"diff": "@@ -522,3 +522,57 @@ init_cluster() {\nfi\n}\n+\n+function update_configs {\n+ # Create the basic tokens\n+ ca_data=$(cat ${SNAP_DATA}/certs/ca.crt ... | Python | Apache License 2.0 | canonical/microk8s | Bring your own CA (#1486) |
104,062 | 20.08.2020 11:43:57 | -10,800 | d6ac0f32493ab8858652e2f82d8facf688d55020 | Reconfigure cluster to use token auth only | [
{
"change_type": "MODIFY",
"old_path": "snap/hooks/configure",
"new_path": "snap/hooks/configure",
"diff": "@@ -343,6 +343,25 @@ then\nneed_api_restart=true\nfi\n+if grep -e \"basic-auth-file\" ${SNAP_DATA}/args/kube-apiserver\n+then\n+ echo \"Removing basic auth\"\n+ # Create the client kubeconfig\... | Python | Apache License 2.0 | canonical/microk8s | Reconfigure cluster to use token auth only (#1188) |
104,062 | 24.08.2020 13:38:54 | -10,800 | 56a91115b40378952f3b16b8bb9bd4b5ed37901c | Help calico autodetect routing paths | [
{
"change_type": "MODIFY",
"old_path": "docs/build.md",
"new_path": "docs/build.md",
"diff": "@@ -85,6 +85,11 @@ At the time of the v3.13.2 release. The `calico.yaml` manifest is a slightly mod\n1. policysync to /var/snap/microk8s/current/var/run/nodeagent\n- We enabled vxlan following the instructi... | Python | Apache License 2.0 | canonical/microk8s | Help calico autodetect routing paths (#1512) |
104,062 | 27.08.2020 18:13:24 | -10,800 | de16ce4f7ec2ba637b580c6f12f84f8610553c4a | Disabling linkerd testing | [
{
"change_type": "MODIFY",
"old_path": "tests/test-addons.py",
"new_path": "tests/test-addons.py",
"diff": "@@ -217,6 +217,7 @@ class TestAddons(object):\nprint(\"Disabling fluentd\")\nmicrok8s_disable(\"fluentd\")\n+ @pytest.mark.skip(\"disabling the linkerd test due to https://github.com/linkerd/l... | Python | Apache License 2.0 | canonical/microk8s | Disabling linkerd testing (#1523) |
104,088 | 28.08.2020 03:13:36 | 18,000 | e5f7ffe3cbfdf2283599e0d207050fb5549e4d47 | Update formatting of files with black
Current formatting is causing CI to fail | [
{
"change_type": "MODIFY",
"old_path": "installer/cli/microk8s.py",
"new_path": "installer/cli/microk8s.py",
"diff": "@@ -17,7 +17,11 @@ logger = logging.getLogger(__name__)\n@click.command(\n- name=\"microk8s\", context_settings=dict(ignore_unknown_options=True, allow_extra_args=True,)\n+ name=\"mi... | Python | Apache License 2.0 | canonical/microk8s | Update formatting of files with black (#1516)
Current formatting is causing CI to fail |
104,088 | 28.08.2020 03:15:52 | 18,000 | 517892705819463a88069a8b0e921ed465aaeee5 | Move other binaries to separate snapcraft part
Moves pulling in of a few extra non-k8s binaries to their own separate
snapcraft steps. This will additionally speed up rebuilds when changing
any files other than those under build-scripts/. | [
{
"change_type": "MODIFY",
"old_path": "build-scripts/fetch-other-binaries.sh",
"new_path": "build-scripts/fetch-other-binaries.sh",
"diff": "@@ -3,19 +3,6 @@ set -eu\nmkdir -p $KUBE_SNAP_BINS\n(cd $KUBE_SNAP_BINS\n- curl -LO https://github.com/etcd-io/etcd/releases/download/${ETCD_VERSION}/etcd-${E... | Python | Apache License 2.0 | canonical/microk8s | Move other binaries to separate snapcraft part (#1490)
Moves pulling in of a few extra non-k8s binaries to their own separate
snapcraft steps. This will additionally speed up rebuilds when changing
any files other than those under build-scripts/. |
104,145 | 31.08.2020 15:50:17 | -10,800 | 00f57dfc84c668ec27fe8ea5f4712538e9c50237 | Add memory cgroup check
* Adding an additional check to ensure that memory
cgroup is explicitly enabled. | [
{
"change_type": "MODIFY",
"old_path": "scripts/inspect.sh",
"new_path": "scripts/inspect.sh",
"diff": "@@ -97,7 +97,7 @@ function store_kubernetes_info {\nsudo -E /snap/bin/microk8s kubectl version 2>&1 | sudo tee $INSPECT_DUMP/k8s/version > /dev/null\nsudo -E /snap/bin/microk8s kubectl cluster-inf... | Python | Apache License 2.0 | canonical/microk8s | Add memory cgroup check (#1501)
* Adding an additional check to ensure that memory
cgroup is explicitly enabled.
Co-authored-by: Konstantinos <kos.tsakalozos@canonical.com> |
104,073 | 01.09.2020 03:52:31 | 14,400 | 6acd4820b4640e796d9eec7775bbfb3258ecc952 | Adding start wrapper | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -11,6 +11,7 @@ tests/__pycache__\n**/tests/*.pyc\n.venv/\n.vscode/\n+/installer/.venv/\n/installer/**/__pycache__\n/installer/dist/\n/installer/build/\n"
},
{
"change_type": "MODIFY",
"old_path": "... | Python | Apache License 2.0 | canonical/microk8s | Adding start wrapper (#1529) |
104,062 | 01.09.2020 17:57:10 | -10,800 | 6a398b5eb1ae22e7b1d446925e694b402f7db561 | Make sure we reconfigure containerd and kubelet when moving cni bins | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.cilium.sh",
"new_path": "microk8s-resources/actions/enable.cilium.sh",
"diff": "@@ -17,10 +17,21 @@ echo \"Restarting kube-apiserver\"\nrefresh_opt_in_config \"allow-privileged\" \"true\" kube-apiserver\nrun_with_sudo preserve... | Python | Apache License 2.0 | canonical/microk8s | Make sure we reconfigure containerd and kubelet when moving cni bins (#1531) |
104,062 | 01.09.2020 23:28:50 | -10,800 | eb13f84b2568d5017fa36dd38335639984d546a5 | Fix cilium tests flakiness | [
{
"change_type": "MODIFY",
"old_path": "tests/validators.py",
"new_path": "tests/validators.py",
"diff": "@@ -425,11 +425,22 @@ def validate_cilium():\nhere = os.path.dirname(os.path.abspath(__file__))\nmanifest = os.path.join(here, \"templates\", \"nginx-pod.yaml\")\n+\n+ # Try up to three times to... | Python | Apache License 2.0 | canonical/microk8s | Fix cilium tests flakiness (#1532) |
104,073 | 02.09.2020 01:45:57 | 14,400 | 2cefc89900d253a6c15fd9b2f6cf4b6080287409 | Bump Multipass download to 1.4.0 | [
{
"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 download to 1.4.0 (#1533) |
104,062 | 02.09.2020 14:12:47 | -10,800 | 3784d89ff80c5c88d0a33b4b9d194f6da95bb642 | Fix upgrade from non-HA to HA | [
{
"change_type": "MODIFY",
"old_path": "scripts/wrappers/upgrade.py",
"new_path": "scripts/wrappers/upgrade.py",
"diff": "@@ -142,7 +142,7 @@ def get_nodes_info(safe=True):\nif host not in nodes.decode():\nprint(\"Node {} not present\".format(host))\ncontinue\n- node_info = [(parts[0], parts[1])]\n+... | Python | Apache License 2.0 | canonical/microk8s | Fix upgrade from non-HA to HA (#1535) |
104,062 | 11.09.2020 14:53:38 | -10,800 | 22a970b03a7b24ff8f733d5a91475a1babcb323a | Apiserver kicker to restart the right services | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/apiservice-kicker",
"new_path": "microk8s-resources/wrappers/apiservice-kicker",
"diff": "@@ -36,11 +36,11 @@ do\nthen\necho \"CSR change detected. Reconfiguring the kube-apiserver\"\nrm -rf .srl\n- snapctl restart microk8s.daemon-e... | Python | Apache License 2.0 | canonical/microk8s | Apiserver kicker to restart the right services (#1553) |
104,062 | 14.09.2020 12:04:17 | -10,800 | b4b29d4f61a942ef88711b01d0067c98a8197496 | run_with_sudo in enabling storage | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.storage.sh",
"new_path": "microk8s-resources/actions/enable.storage.sh",
"diff": "@@ -5,7 +5,7 @@ set -e\nsource $SNAP/actions/common/utils.sh\necho \"Enabling default storage class\"\n-sudo mkdir -p ${SNAP_COMMON}/default-sto... | Python | Apache License 2.0 | canonical/microk8s | run_with_sudo in enabling storage (#1559) |
104,062 | 14.09.2020 21:07:16 | -10,800 | 8e1367a23b807db243f0766e8da969e094f60890 | Check machine hostname during inspection | [
{
"change_type": "MODIFY",
"old_path": "scripts/inspect.sh",
"new_path": "scripts/inspect.sh",
"diff": "@@ -202,6 +202,17 @@ function suggest_fixes {\nprintf -- '\\t https://microk8s.io/docs/lxd \\n'\nfi\nfi\n+\n+ # node name\n+ nodename=\"$(hostname)\"\n+ if [[ \"$nodename\" =~ [A-Z|_] ]] && ! grep... | Python | Apache License 2.0 | canonical/microk8s | Check machine hostname during inspection (#1562)
Co-authored-by: Nick Veitch <nick.veitch@canonical.com> |
104,088 | 16.09.2020 05:24:48 | 18,000 | d7952f2fedcc13c7bb72828991e55d9b485fa4d5 | Update Kubeflow addon to 1.1 | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -189,7 +189,7 @@ def get_hostname():\ndef main():\nargs = {\n- 'bundle': os.environ.get(\"KUBEFLOW_BUNDLE\") or \"cs:kubeflow-206\",\n+ 'bu... | Python | Apache License 2.0 | canonical/microk8s | Update Kubeflow addon to 1.1 (#1563) |
104,088 | 16.09.2020 08:54:53 | 18,000 | abcbb28d5a365dadd3d8d98ec5606b627d1f5b46 | Check current UID and permissions before enabling Kubeflow
Disallows enabling Kubeflow as root, and also attempts to fix
permissions issues caused by previously attempting to enable Kubeflow
as root. If the permissions fix fails, prints out message instructing
user how to do it themselves. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -12,8 +12,9 @@ import textwrap\nimport time\nfrom distutils.util import strtobool\nfrom itertools import count\n+from pathlib import Path\n... | Python | Apache License 2.0 | canonical/microk8s | Check current UID and permissions before enabling Kubeflow (#1555)
Disallows enabling Kubeflow as root, and also attempts to fix
permissions issues caused by previously attempting to enable Kubeflow
as root. If the permissions fix fails, prints out message instructing
user how to do it themselves. |
104,062 | 23.09.2020 09:08:15 | -10,800 | 0ceb02fbd36b1d542f23f53242275a6d8c4d2ce8 | Do not fix dqlite permissions if dqlite is not enabled | [
{
"change_type": "MODIFY",
"old_path": "scripts/inspect.sh",
"new_path": "scripts/inspect.sh",
"diff": "@@ -263,6 +263,7 @@ check_service \"snap.microk8s.daemon-cluster-agent\"\ncheck_service \"snap.microk8s.daemon-containerd\"\ncheck_service \"snap.microk8s.daemon-apiserver\"\ncheck_service \"snap.... | Python | Apache License 2.0 | canonical/microk8s | Do not fix dqlite permissions if dqlite is not enabled (#1573) |
104,062 | 23.09.2020 12:19:45 | -10,800 | f9f40a9d0f1448f18019a97ef5ab6fb9afce1ed4 | Multus CI tests fixes | [
{
"change_type": "MODIFY",
"old_path": "tests/test-addons.py",
"new_path": "tests/test-addons.py",
"diff": "@@ -129,6 +129,40 @@ class TestAddons(object):\nprint(\"Disabling Istio\")\nmicrok8s_disable(\"istio\")\n+ @pytest.mark.skipif(\n+ platform.machine() != 'x86_64',\n+ reason=\"Fluentd, promethe... | Python | Apache License 2.0 | canonical/microk8s | Multus CI tests fixes (#1593) |
104,062 | 23.09.2020 22:21:23 | -10,800 | 953afce6cd023a4e55cc6f3189272d9ea28d3c22 | Run containerd unconfined | [
{
"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+# Re-exec outside of apparmor confinement\n+if [ -d /sys/kernel/security/apparmor ] && [ \"$(cat /proc/self/attr/curre... | Python | Apache License 2.0 | canonical/microk8s | Run containerd unconfined (#1579) |
104,088 | 30.09.2020 07:36:18 | 18,000 | a4046bed7eed8ed889a2937dbd23034f6e3809b8 | Remove modeldb reference in Kubeflow script | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -297,7 +297,6 @@ def main():\n\"options\": {\"static-username\": \"admin\", \"static-password\": args['password']}\n},\n\"katib-db\": {\"op... | Python | Apache License 2.0 | canonical/microk8s | Remove modeldb reference in Kubeflow script (#1612) |
104,062 | 05.10.2020 10:22:26 | -10,800 | 0308a0034701e5ae00467e1a5341438b1ecc5a1e | Robust disabling of kubeflow | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/disable.kubeflow.sh",
"new_path": "microk8s-resources/actions/disable.kubeflow.sh",
"diff": "@@ -6,13 +6,8 @@ source $SNAP/actions/common/utils.sh\nfunction disable_kubeflow() {\necho \"Disabling Kubeflow...\"\n- if \"$SNAP/microk8s-... | Python | Apache License 2.0 | canonical/microk8s | Robust disabling of kubeflow (#1620) |
104,062 | 05.10.2020 13:31:38 | -10,800 | 8c23ed3800608aa10c7b6d6b01ac9c256f382464 | Retry in waiting for pods to get running in kf addon | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -23,6 +23,21 @@ CONNECTIVITY_CHECKS = [\n]\n+def retry_run(*args, die=True, debug=False, stdout=True, times=3):\n+ for attempt in range(1, ... | Python | Apache License 2.0 | canonical/microk8s | Retry in waiting for pods to get running in kf addon (#1618) |
104,062 | 05.10.2020 22:03:48 | -10,800 | c6b23f587043fc3a33709e4c672de171830e2b4c | Retry dqlite failed queries | [
{
"change_type": "MODIFY",
"old_path": "build-scripts/patches/dqlite.patch",
"new_path": "build-scripts/patches/dqlite.patch",
"diff": "-From 0b545d9ce0a4ee3090831760cb2e600358e024e4 Mon Sep 17 00:00:00 2001\n+From ff20e3bac811992a52d482de0f417aa55e66cc67 Mon Sep 17 00:00:00 2001\nFrom: Free Ekanaya... | Python | Apache License 2.0 | canonical/microk8s | Retry dqlite failed queries (#1624) |
104,062 | 07.10.2020 12:29:16 | -10,800 | 979dd4e917d065fb1d66ed83813be00f950252b7 | Add more dqlite logs | [
{
"change_type": "MODIFY",
"old_path": "build-scripts/patches/dqlite.patch",
"new_path": "build-scripts/patches/dqlite.patch",
"diff": "@@ -299748,7 +299748,7 @@ index 00000000000..e03a99add4b\n2.25.1\n-From 8f67b8619be9a8e330e8e4633c6391b56eecc448 Mon Sep 17 00:00:00 2001\n+From 8e2523baceef25ee16e... | Python | Apache License 2.0 | canonical/microk8s | Add more dqlite logs (#1628) |
104,062 | 08.10.2020 10:16:36 | -10,800 | 2db20fdfdbf122185726fb196ac5df9a405143f3 | Use a more reliable network configuration for multus network | [
{
"change_type": "MODIFY",
"old_path": "tests/templates/multus-networks.yaml",
"new_path": "tests/templates/multus-networks.yaml",
"diff": "@@ -7,7 +7,9 @@ spec:\nconfig: '{\n\"cniVersion\": \"0.3.1\",\n\"name\": \"net1\",\n- \"type\": \"ptp\",\n+ \"type\": \"macvlan\",\n+ \"master\": \"eth0\",\n+ \... | Python | Apache License 2.0 | canonical/microk8s | Use a more reliable network configuration for multus network (#1630) |
104,079 | 16.10.2020 04:34:44 | 18,000 | a29e69fb246ef07ef3c37f32859cb1118a104ed3 | Fix help option for inspect command | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s.wrapper",
"diff": "@@ -22,7 +22,7 @@ if [ -f \"${SNAP}/microk8s-${APP}.wrapper\" ]; then\n\"${SNAP}/microk8s-${APP}.wrapper\" \"$@\"\nreadonly EXIT=\"$?\"\nelif [ ... | Python | Apache License 2.0 | canonical/microk8s | Fix help option for inspect command (#1641) |
104,062 | 29.10.2020 14:06:45 | -7,200 | 5300530600a04caeca4c9260d0e0915a370b9aba | Load CNI from api service kicker | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/apiservice-kicker",
"new_path": "microk8s-resources/wrappers/apiservice-kicker",
"diff": "@@ -47,6 +47,18 @@ do\nfi\nfi\n+ if [ -e \"${SNAP_DATA}/args/cni-network/cni.yaml\" ] &&\n+ [ -e \"${SNAP_DATA}/var/lock/ha-cluster\" ] &&\n+ ... | Python | Apache License 2.0 | canonical/microk8s | Load CNI from api service kicker (#1640) |
104,073 | 29.10.2020 10:50:23 | 14,400 | 3fb49d2ccef57b0c97d5223494cab89170fbe0e4 | Don't auto start MicroK8s on commands | [
{
"change_type": "MODIFY",
"old_path": "installer/cli/microk8s.py",
"new_path": "installer/cli/microk8s.py",
"diff": "@@ -273,6 +273,7 @@ def start() -> None:\ninstance_info = instance.get_instance_info()\nif not instance_info.is_running():\ninstance.start()\n+ instance.run([\"microk8s.start\"])\nde... | Python | Apache License 2.0 | canonical/microk8s | Don't auto start MicroK8s on commands (#1682) |
104,062 | 29.10.2020 20:37:45 | -7,200 | 574ba3f1a79638179243ec10dcecbfe8ef8686b5 | Proper microk8s status msg when stopped | [
{
"change_type": "MODIFY",
"old_path": "scripts/wrappers/common/utils.py",
"new_path": "scripts/wrappers/common/utils.py",
"diff": "@@ -126,6 +126,13 @@ def wait_for_ready(wait_ready, timeout):\nreturn isReady\n+def exit_if_stopped():\n+ stoppedLockFile = os.path.expandvars(\"${SNAP_DATA}/var/lock/s... | Python | Apache License 2.0 | canonical/microk8s | Proper microk8s status msg when stopped (#1696) |
104,062 | 05.11.2020 17:55:19 | -7,200 | bfa9cc1a5a04a0660d3a807c0b5f7dbe678cfa3d | Get flannel to use libc from core | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/run-flanneld-with-args",
"new_path": "microk8s-resources/wrappers/run-flanneld-with-args",
"diff": "set -e\nexport PATH=\"$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH\"\nARCH=\"$($SNAP/bin/uname -m)\"\n-export LD_LIBRARY_... | Python | Apache License 2.0 | canonical/microk8s | Get flannel to use libc from core (#1713) |
104,062 | 16.11.2020 15:45:09 | -7,200 | f9cbfdfd2021e8015d4a30fa91f27668252a9898 | Build the upstream sqlite and not the patched one | [
{
"change_type": "MODIFY",
"old_path": "snap/snapcraft.yaml",
"new_path": "snap/snapcraft.yaml",
"diff": "@@ -127,23 +127,21 @@ parts:\n- usr/include/\nsqlite:\n- source: https://github.com/canonical/sqlite\n+ source: https://github.com/sqlite/sqlite\nsource-type: git\n+ source-depth: 1\n+ source-ta... | Python | Apache License 2.0 | canonical/microk8s | Build the upstream sqlite and not the patched one (#1607) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.