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 | 25.07.2019 12:08:16 | -10,800 | 44c79794c6442a920179f6a32dbb8fa276ddc51b | Better knative cleanup | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/disable.knative.sh",
"new_path": "microk8s-resources/actions/disable.knative.sh",
"diff": "@@ -6,6 +6,7 @@ source $SNAP/actions/common/utils.sh\necho \"Disabling Knative\"\n-\"$SNAP/kubectl\" \"--kubeconfig=$SNAP_DATA/credentials/cli... | Python | Apache License 2.0 | canonical/microk8s | Better knative cleanup (#559) |
104,099 | 04.08.2019 12:31:12 | -10,800 | 7619a49982344448c2163e28d9be9beed9a3fb30 | Adds link to medium story (flask + microk8s) | [
{
"change_type": "MODIFY",
"old_path": "docs/community.md",
"new_path": "docs/community.md",
"diff": "@@ -6,6 +6,8 @@ Feel free to update the table below by submitting a Pull Request.\n| Event/Mention | Author(s) | Source | Date |\n|-------------------------------------------------------------------... | Python | Apache License 2.0 | canonical/microk8s | Adds link to medium story (flask + microk8s) (#577) |
104,161 | 06.08.2019 11:22:44 | 14,400 | 5c5bf931d19955ce2dcfee113ebb16fdc5a23cf3 | Hi folks - more tweaks to docs | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -14,27 +14,27 @@ flavours of Linux](https://snapcraft.io/microk8s). Perfect for:\n- Edge\n- CI/CD\n-`Canonical might have assembled the easiest way to provision a single node\n-Kubernetes cluster`. - [Kelsey Hig... | Python | Apache License 2.0 | canonical/microk8s | Hi folks - more tweaks to docs (#582) |
104,062 | 08.08.2019 15:44:47 | -10,800 | b182b758b92f47d9bc337437cce3d1f5d0a89223 | Tilt.dev on MicroK8s mention | [
{
"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 | Tilt.dev on MicroK8s mention (#588) |
104,062 | 16.08.2019 11:55:54 | -10,800 | f0191e7feda2a54f01d45d9a12f102f47adcbc7e | Configure iptable forwarding policy for pods | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/run-with-config-args",
"new_path": "microk8s-resources/wrappers/run-with-config-args",
"diff": "@@ -10,10 +10,22 @@ app=$1\nif [ \"${app}\" = \"kubelet\" ]\nthen\n+ pod_cidr=\"$(cat $SNAP_DATA/args/kubelet | grep \"pod-cidr\" | tr \... | Python | Apache License 2.0 | canonical/microk8s | Configure iptable forwarding policy for pods (#592) |
104,062 | 19.08.2019 11:31:05 | -10,800 | 690fe95c0315eae55c94b7b188cd185fd44952e2 | Clean cilium removal | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/disable.cilium.sh",
"new_path": "microk8s-resources/actions/disable.cilium.sh",
"diff": "@@ -10,6 +10,19 @@ if [ -L \"${SNAP_DATA}/bin/cilium\" ]\nthen\n\"$SNAP/kubectl\" \"--kubeconfig=$SNAP_DATA/credentials/client.config\" delete -... | Python | Apache License 2.0 | canonical/microk8s | Clean cilium removal (#603) |
104,062 | 23.08.2019 01:11:55 | -10,800 | d3bd16d11533ab4d38c3d87eac086c8a5c2a8561 | Allow users to be in the microk8s group in addition to using sudo | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -59,22 +59,30 @@ snap install microk8s --classic\nMicroK8s includes a `microk8s.kubectl` command:\n```\n-microk8s.kubectl get nodes\n-microk8s.kubectl get services\n+sudo microk8s.kubectl get nodes\n+sudo microk... | Python | Apache License 2.0 | canonical/microk8s | Allow users to be in the microk8s group in addition to using sudo (#608) |
104,062 | 02.09.2019 11:27:20 | -10,800 | 1fe1249802dd554db7897dcdd8a0806a3c1bf511 | Re-instroducing network stats in the inspect script | [
{
"change_type": "MODIFY",
"old_path": "scripts/inspect.sh",
"new_path": "scripts/inspect.sh",
"diff": "@@ -52,7 +52,7 @@ function store_network {\n# Collect network setup.\nprintf -- ' Copy network configuration to the final report tarball\\n'\nmkdir -p $INSPECT_DUMP/network\n- netstat -ln &> $INSP... | Python | Apache License 2.0 | canonical/microk8s | Re-instroducing network stats in the inspect script (#622) |
104,062 | 02.09.2019 13:07:33 | -10,800 | b4b721cbdad1018d7e2e09895864e28e71abbd67 | Patching the curl binary to use in snap libs | [
{
"change_type": "MODIFY",
"old_path": "snapcraft.yaml",
"new_path": "snapcraft.yaml",
"diff": "@@ -140,6 +140,7 @@ parts:\n- libnss-resolve\n- libnss-mymachines\n- conntrack\n+ - curl\n- aufs-tools\n- gawk\n- sed\n@@ -166,7 +167,6 @@ parts:\n- file\n- dpkg\nstage-packages:\n- - curl\n- net-tools\n-... | Python | Apache License 2.0 | canonical/microk8s | Patching the curl binary to use in snap libs (#624) |
104,062 | 03.09.2019 12:59:16 | -10,800 | b485fd2616efdd90d7bc6e108f222b9370cc353a | Re-enable cilium when upgrading | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.cilium.sh",
"new_path": "microk8s-resources/actions/enable.cilium.sh",
"diff": "@@ -74,7 +74,7 @@ else\nsudo cp \"$SNAP_DATA/tmp/cilium/$CILIUM_DIR/install/kubernetes/cilium.yaml\" \"$SNAP_DATA/actions/cilium.yaml\"\nsudo sed ... | Python | Apache License 2.0 | canonical/microk8s | Re-enable cilium when upgrading (#625) |
104,062 | 03.09.2019 18:36:10 | -10,800 | 6b800f2f63401a1f6c23c7b44057580394452ebb | Fix the reset wrapper - do a proper reset | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-reset.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-reset.wrapper",
"diff": "@@ -9,6 +9,11 @@ KUBECTL=\"$SNAP/kubectl --kubeconfig=${SNAP_DATA}/credentials/client.config\"\nclean_cluster() {\necho \"Calling cl... | Python | Apache License 2.0 | canonical/microk8s | Fix the reset wrapper - do a proper reset (#626) |
104,062 | 04.09.2019 08:58:36 | -10,800 | 42e3861d8d9aa04f5b41fe0f1cd56a87c6e02a58 | Fix race condition where during a reset deployments get recreated with missing resources | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-reset.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-reset.wrapper",
"diff": "@@ -18,6 +18,15 @@ clean_cluster() {\nfor NS in $NSES\ndo\necho \"Cleaning resources in namespace $NS\"\n+ # we remove first resourc... | Python | Apache License 2.0 | canonical/microk8s | Fix race condition where during a reset deployments get recreated with missing resources (#628) |
104,151 | 07.09.2019 15:27:27 | -36,000 | 49e789e78b3a1e2606b3ec17d14bfa65d673127e | Return single IP from get_default_ip().
Multiple IP addresses causes etcd failed to start.
This fixes . | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/common/utils.sh",
"new_path": "microk8s-resources/actions/common/utils.sh",
"diff": "@@ -155,7 +155,7 @@ wait_for_service_shutdown() {\nget_default_ip() {\n# Get the IP of the default interface\nlocal DEFAULT_INTERFACE=\"$($SNAP/bin/... | Python | Apache License 2.0 | canonical/microk8s | Return single IP from get_default_ip(). (#636)
Multiple IP addresses causes etcd failed to start.
This fixes #440 . |
104,062 | 12.09.2019 12:16:50 | -10,800 | 833f025bb752e1081401e0bee93ab1eb15c83d21 | Get client.config from microk8s resources during upgrade | [
{
"change_type": "MODIFY",
"old_path": "snap/hooks/configure",
"new_path": "snap/hooks/configure",
"diff": "@@ -69,7 +69,7 @@ if [ ! -f ${SNAP_DATA}/credentials/client.config ]\nthen\necho \"Patching client config location\"\nmkdir -p ${SNAP_DATA}/credentials/\n- cp ${SNAP}/client.config ${SNAP_DATA... | Python | Apache License 2.0 | canonical/microk8s | Get client.config from microk8s resources during upgrade (#643) |
104,062 | 12.09.2019 13:40:40 | -10,800 | e0dbaab51273b8cac36eaee8e80b0c56f00d484d | Add new line at the end of the microk8s.config output | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-config.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-config.wrapper",
"diff": "@@ -46,7 +46,9 @@ exit_if_no_permissions\nif [[ \"$USE_LOOPBACK\" == \"true\" ]]; then\ncat \"$SNAP_DATA/credentials/client.config... | Python | Apache License 2.0 | canonical/microk8s | Add new line at the end of the microk8s.config output (#623) |
104,062 | 13.09.2019 11:25:59 | -10,800 | eb54894ddfd4ceb27b819fb158d0a324ead93f6b | Allow for some time slack between dns and linkerd | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.linkerd.sh",
"new_path": "microk8s-resources/actions/enable.linkerd.sh",
"diff": "@@ -22,5 +22,8 @@ echo \"Enabling Linkerd2\"\n# pod/servicegraph will start failing without dns\nKUBECTL=\"$SNAP/kubectl --kubeconfig=${SNAP_DAT... | Python | Apache License 2.0 | canonical/microk8s | Allow for some time slack between dns and linkerd (#644) |
104,062 | 18.09.2019 18:35:58 | -7,200 | c38f83ef31e64558914ef7d322dbb11fe8589755 | Fixes on GPU manifest | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/gpu.yaml",
"new_path": "microk8s-resources/actions/gpu.yaml",
"diff": "@@ -4,6 +4,9 @@ metadata:\nname: nvidia-device-plugin-daemonset\nnamespace: kube-system\nspec:\n+ selector:\n+ matchLabels:\n+ name: nvidia-device-plugin-ds\ntemp... | Python | Apache License 2.0 | canonical/microk8s | Fixes on GPU manifest (#656) |
104,062 | 18.09.2019 22:19:11 | -7,200 | 52c88e9ee54989a603d70f69d9c3f56eded950df | Reset in the right place | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-reset.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-reset.wrapper",
"diff": "@@ -53,12 +53,16 @@ clean_cluster() {\necho \"Removing CRDs\"\n$KUBECTL delete --all customresourcedefinitions.apiextensions.k8s.io\... | Python | Apache License 2.0 | canonical/microk8s | Reset in the right place (#657) |
104,062 | 19.09.2019 10:50:27 | -7,200 | 7e353fc5fea406b2fd21908ad977f1a05fc1a0a9 | Disabling linkerd on 1.16 untill the addon is fixed | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.linkerd.sh",
"new_path": "microk8s-resources/actions/enable.linkerd.sh",
"diff": "@@ -4,6 +4,12 @@ set -e\nsource $SNAP/actions/common/utils.sh\n+echo \"Linkerd is not yet available in v1.16 MicroK8s. Please install the v1.15 ... | Python | Apache License 2.0 | canonical/microk8s | Disabling linkerd on 1.16 untill the addon is fixed (#658) |
104,062 | 19.09.2019 16:39:33 | -7,200 | b9b7990a32803063fbda5e6d90f08823dc44d3d2 | Knative not available yet in 1.16. Fixes in istio testing | [
{
"change_type": "MODIFY",
"old_path": "build-scripts/fetch-other-binaries.sh",
"new_path": "build-scripts/fetch-other-binaries.sh",
"diff": "@@ -22,7 +22,6 @@ mkdir -p $KUBE_SNAP_BINS\n# Knative, not quite binares but still fetcing.\nmkdir knative-yaml\ncurl -L https://github.com/knative/serving/re... | Python | Apache License 2.0 | canonical/microk8s | Knative not available yet in 1.16. Fixes in istio testing (#659) |
104,062 | 20.09.2019 11:09:54 | -7,200 | 7f29bd12b825c13050ce737a56aa133c5d55beb1 | Hacks to get knative 0.9.0 in 1.16 working | [
{
"change_type": "MODIFY",
"old_path": "build-scripts/fetch-other-binaries.sh",
"new_path": "build-scripts/fetch-other-binaries.sh",
"diff": "@@ -24,5 +24,10 @@ mkdir -p $KUBE_SNAP_BINS\ncurl -L https://github.com/knative/serving/releases/download/$KNATIVE_SERVING_VERSION/serving.yaml -o ./knative-y... | Python | Apache License 2.0 | canonical/microk8s | Hacks to get knative 0.9.0 in 1.16 working (#660) |
104,062 | 24.09.2019 18:05:03 | -10,800 | 296d6a906e908a5d7e1e00e3ec59b5bf872f4fa4 | Upgrading the dashboard for 1.16 | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/dashboard.yaml",
"new_path": "microk8s-resources/actions/dashboard.yaml",
"diff": "-# ------------------- Dashboard Secret ------------------- #\n+apiVersion: v1\n+kind: ServiceAccount\n+metadata:\n+ labels:\n+ k8s-app: kubernetes-da... | Python | Apache License 2.0 | canonical/microk8s | Upgrading the dashboard for 1.16 (#667) |
104,062 | 24.09.2019 18:05:44 | -10,800 | ed7520100f70bbf2c7643de600e08f92102f6448 | In inspect skip ufw check if binary not present | [
{
"change_type": "MODIFY",
"old_path": "scripts/inspect.sh",
"new_path": "scripts/inspect.sh",
"diff": "@@ -119,12 +119,15 @@ function suggest_fixes {\nprintf -- 'The change can be made persistent with: sudo apt-get install iptables-persistent\\n'\nfi\n+ if /snap/core/current/usr/bin/which ufw &> /d... | Python | Apache License 2.0 | canonical/microk8s | In inspect skip ufw check if binary not present (#668) |
104,062 | 26.09.2019 13:03:59 | -10,800 | 0c588de1fdafcd1a7352041936f345f38f8d2264 | Wait for cluster to be up before we enable/disable addons | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-disable.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-disable.wrapper",
"diff": "@@ -34,6 +34,8 @@ exit_if_no_permissions\nresult=1\nfor action in \"$@\"; do\n+ # Making sure the cluster is up and running befo... | Python | Apache License 2.0 | canonical/microk8s | Wait for cluster to be up before we enable/disable addons (#676) |
104,062 | 26.09.2019 14:39:07 | -10,800 | 0089cc595f0127ec572d5cb4765299b6b8ca844d | Filter out coredns from the list of addons | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-enable.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-enable.wrapper",
"diff": "@@ -21,7 +21,7 @@ if echo \"$*\" | grep -q -- '--help'; then\necho\necho \"Available addons:\"\necho\n- actions=\"$(find \"${SNAP}... | Python | Apache License 2.0 | canonical/microk8s | Filter out coredns from the list of addons (#677) |
104,062 | 30.09.2019 19:19:25 | -10,800 | fc43831c69a194d28d7d48306cddc324803c5263 | Sort addons in status | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-status.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-status.wrapper",
"diff": "@@ -125,7 +125,8 @@ function format_output() {\nfor a in \"${!addon[@]}\"\ndo\necho \"$a: ${addon[$a]}\"\n- done\n+ done |\n+ sort... | Python | Apache License 2.0 | canonical/microk8s | Sort addons in status (#692) |
104,071 | 01.10.2019 04:22:10 | 10,800 | f383555e6445f97568cf9765fc4f7b361e9beb57 | Remove dangling double quotes
Remove the dangling double quotes from this command line: sudo usermod -a -G microk8s <username>" . | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -72,7 +72,7 @@ sudo microk8s.kubectl config view --raw > $HOME/.kube/config\nThe *microk8s* user group is created during the snap installation. Users in that group\nare granted access to `microk8s` commands. To ... | Python | Apache License 2.0 | canonical/microk8s | Remove dangling double quotes (#693)
Remove the dangling double quotes from this command line: sudo usermod -a -G microk8s <username>" . |
104,059 | 01.10.2019 13:59:27 | -7,200 | 7dacb3f96baa3d536eb90f95f2e4372824719977 | Force curl to use the correct ca-certs
* Force curl to use the correct ca-certs
Previously the snap took the ca-certs from /etc/ssl/certs. This
caused issues like where no certs were available in that
path, now it will use the certs available in the core snap. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.cilium.sh",
"new_path": "microk8s-resources/actions/enable.cilium.sh",
"diff": "set -e\nsource $SNAP/actions/common/utils.sh\n+CA_CERT=/snap/core/current/etc/ssl/certs/ca-certificates.crt\nARCH=$(arch)\nif ! [ \"${ARCH}\" = \"... | Python | Apache License 2.0 | canonical/microk8s | Force curl to use the correct ca-certs (#694)
* Force curl to use the correct ca-certs
Previously the snap took the ca-certs from /etc/ssl/certs. This
caused issues like #630 where no certs were available in that
path, now it will use the certs available in the core snap. |
104,062 | 08.10.2019 07:34:29 | -10,800 | 21141062427d7197f9d0f2f9c7e94b86a8d80b05 | Updating link to user creation doc | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.dashboard.sh",
"new_path": "microk8s-resources/actions/enable.dashboard.sh",
"diff": "@@ -14,6 +14,7 @@ token=\\$(microk8s.kubectl -n kube-system get secret | grep default-token | cut -\nmicrok8s.kubectl -n kube-system describ... | Python | Apache License 2.0 | canonical/microk8s | Updating link to user creation doc (#709) |
104,062 | 08.10.2019 12:15:45 | -10,800 | bcac97c5d122eca4ca2bb96c1e8ca69fd14e6af7 | Intro k8s video in community page | [
{
"change_type": "MODIFY",
"old_path": "docs/community.md",
"new_path": "docs/community.md",
"diff": "@@ -5,6 +5,8 @@ request with updates to this page.\n| Event/Mention | Author(s) | Source | Date |\n|---------------------------------------------------------------------|--------------|----------|--... | Python | Apache License 2.0 | canonical/microk8s | Intro k8s video in community page |
104,062 | 08.10.2019 12:16:34 | -10,800 | 74b98ecedf534a8315af7cb427e791fc4aa9704d | Correct community entry | [
{
"change_type": "MODIFY",
"old_path": "docs/community.md",
"new_path": "docs/community.md",
"diff": "@@ -5,8 +5,7 @@ request with updates to this page.\n| Event/Mention | Author(s) | Source | Date |\n|---------------------------------------------------------------------|--------------|----------|--... | Python | Apache License 2.0 | canonical/microk8s | Correct community entry |
104,062 | 11.10.2019 16:37:46 | -10,800 | 3727db9c0f6e2451d4a77e078b3d8e079bcdb1c9 | Fix remove of interfaces on install. Proper waiting in flannel. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/run-flanneld-with-args",
"new_path": "microk8s-resources/wrappers/run-flanneld-with-args",
"diff": "@@ -15,7 +15,7 @@ sleep 5\nn=0\nuntil [ $n -ge 10 ]\ndo\n- test -e \"$SNAP_DATA/args/flannel-network-mgr-config\" && \"$SNAP_DATA/ar... | Python | Apache License 2.0 | canonical/microk8s | Fix remove of interfaces on install. Proper waiting in flannel. (#715) |
104,059 | 14.10.2019 15:35:06 | -7,200 | fb42f553725893daf959af2aa84ba1a7266dbd42 | Update Jaeger installation files
* Update Jaeger installation files
This allows jaeger to be deployed on other namespaces with the
following command:
`microk8s.enable jaeger:<name-of-namespace`
And to be deleted with this:
`microk8s.disable jaeger:<name-of-namespace`
Nonetheless, only one jaeger deployment per microk8s... | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/disable.jaeger.sh",
"new_path": "microk8s-resources/actions/disable.jaeger.sh",
"diff": "set -e\nsource $SNAP/actions/common/utils.sh\necho \"Disabling Jaeger\"\n+read -ra ARGUMENTS <<< \"$1\"\n+\nKUBECTL=\"$SNAP/kubectl --kubeconfig... | Python | Apache License 2.0 | canonical/microk8s | Update Jaeger installation files (#711)
* Update Jaeger installation files
This allows jaeger to be deployed on other namespaces with the
following command:
`microk8s.enable jaeger:<name-of-namespace`
And to be deleted with this:
`microk8s.disable jaeger:<name-of-namespace`
Nonetheless, only one jaeger deploym... |
104,062 | 21.10.2019 15:23:03 | -10,800 | ebf26e780a4c894d4fbfa6ab09ab8c2f77c72b49 | Use the default front-proxy-client cert in linkerd | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/disable.linkerd.sh",
"new_path": "microk8s-resources/actions/disable.linkerd.sh",
"diff": "@@ -5,9 +5,6 @@ set -e\nsource $SNAP/actions/common/utils.sh\necho \"Disabling Linkerd\"\n-refresh_opt_in_config \"requestheader-allowed-names... | Python | Apache License 2.0 | canonical/microk8s | Use the default front-proxy-client cert in linkerd (#744) |
104,053 | 23.10.2019 16:31:50 | -19,080 | 9688566bc4bf3e85dd95b2d9a111a12c21ab74cc | Few fixes in the docs. | [
{
"change_type": "MODIFY",
"old_path": "scripts/cluster/agent.py",
"new_path": "scripts/cluster/agent.py",
"diff": "@@ -28,7 +28,7 @@ def get_service_name(service):\nReturns the service name from its configuration file name.\n:param service: the name of the service configuration file\n- :return: the... | Python | Apache License 2.0 | canonical/microk8s | Few fixes in the docs. (#750) |
104,053 | 25.10.2019 17:41:19 | -19,080 | 3bbd173a0e695eb6dd9f19176752d6a0f5ace890 | Added exception handling in setting addons state. | [
{
"change_type": "MODIFY",
"old_path": "scripts/cluster/distributed_op.py",
"new_path": "scripts/cluster/distributed_op.py",
"diff": "@@ -17,7 +17,8 @@ callback_tokens_file = \"{}/credentials/callback-tokens.txt\".format(snapdata_path\ndef do_op(remote_op):\n\"\"\"\nPerform an operation on a remote ... | Python | Apache License 2.0 | canonical/microk8s | Added exception handling in setting addons state. (#751) |
104,062 | 29.10.2019 09:08:58 | -7,200 | 243df87ed46834aa7238f745f0763878ee0110d3 | Do not reconfigure apiserver certs on changes of cni0 | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/common/utils.sh",
"new_path": "microk8s-resources/actions/common/utils.sh",
"diff": "@@ -264,6 +264,16 @@ get_ips() {\nthen\necho \"none\"\nelse\n+ if $SNAP/sbin/ifconfig cni0 &> /dev/null\n+ then\n+ CNI_IP=\"$($SNAP/sbin/ip -o -4 ad... | Python | Apache License 2.0 | canonical/microk8s | Do not reconfigure apiserver certs on changes of cni0 (#745) |
104,062 | 29.10.2019 09:42:40 | -7,200 | 53205cea17c702433d1208c676461a0705b0c806 | Updating dashboard to work in v1.16 (arm64 fix) | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/dashboard.yaml",
"new_path": "microk8s-resources/actions/dashboard.yaml",
"diff": "@@ -167,7 +167,7 @@ spec:\nspec:\ncontainers:\n- name: kubernetes-dashboard\n- image: kubernetesui/dashboard:v2.0.0-beta4\n+ image: kubernetesui/dashb... | Python | Apache License 2.0 | canonical/microk8s | Updating dashboard to work in v1.16 (arm64 fix) (#762) |
104,137 | 30.10.2019 10:51:11 | -3,600 | 11771e3950f3b461c513230a1c002034d0d5eaee | Upgrade Helm to v2.15.1 | [
{
"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.15.0\"\... | Python | Apache License 2.0 | canonical/microk8s | Upgrade Helm to v2.15.1 (#763) |
104,062 | 01.11.2019 15:28:00 | -7,200 | 9dde3ac98d5a6999e037231ec48bb7add6063aa8 | Handle iptable forward rules | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/run-with-config-args",
"new_path": "microk8s-resources/wrappers/run-with-config-args",
"diff": "#!/bin/bash\n-set -e\n+set -ex\nexport PATH=\"$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH\"\nARCH=\"$($SNAP/bin/uname -m)\"\... | Python | Apache License 2.0 | canonical/microk8s | Handle iptable forward rules (#768) |
104,062 | 04.11.2019 13:44:18 | -7,200 | 74dcd95eed906cb987ef95197fd3900c4aeba6aa | kubeflow addon | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "microk8s-resources/actions/disable.kubeflow.sh",
"diff": "+#!/usr/bin/env python3\n+\n+import os\n+import subprocess\n+import sys\n+\n+\n+def main():\n+ env = os.environ.copy()\n+ env[\"PATH\"] += \":%s\" % os.environ[\"SNAP\"]\n+\n+ try:\n+ sub... | Python | Apache License 2.0 | canonical/microk8s | kubeflow addon (#528) |
104,062 | 08.11.2019 11:01:15 | -7,200 | 3699bc74b6caca494e46a4e05bc60344d6be92ea | Remove kubeflow from the upgrade addons tests | [
{
"change_type": "MODIFY",
"old_path": "tests/test-upgrade.py",
"new_path": "tests/test-upgrade.py",
"diff": "@@ -115,7 +115,7 @@ class TestUpgrade(object):\n# AMD64 only tests\nif platform.machine() == 'x86_64' and under_time_pressure == 'False':\n'''\n- Prometheus operator on our lxc is chashloopi... | Python | Apache License 2.0 | canonical/microk8s | Remove kubeflow from the upgrade addons tests (#775) |
104,133 | 11.11.2019 14:06:34 | -3,600 | 1ed10e3c4ee5bf6f9aa1737533a353e269bc04dc | Updated Helm version to v2.16.0
Helm 2.x stable is now pinned to 2.16.0. The new version contains some
important fixes that were too large for a patch version bump.
Release notes: | [
{
"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.15.1\"\... | Python | Apache License 2.0 | canonical/microk8s | Updated Helm version to v2.16.0 (#780)
Helm 2.x stable is now pinned to 2.16.0. The new version contains some
important fixes that were too large for a patch version bump.
Release notes: https://github.com/helm/helm/releases/tag/v2.16.0
Signed-off-by: Oleg Sidorov <me@whitebox.io> |
104,067 | 13.11.2019 15:35:36 | 28,800 | 0d8b14a33665e496656cbb0dd15297dc855db29d | Create flanneld config file with using SNAP_DATA env variables
* Create flanneld config file with using SNAP_DATA env variables as to not
break during snap upgrades.
* Handle upgrade of clustered flannel
* Remove old config before adding it again | [
{
"change_type": "MODIFY",
"old_path": "scripts/cluster/join.py",
"new_path": "scripts/cluster/join.py",
"diff": "@@ -19,10 +19,11 @@ urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)\nCLUSTER_API = \"cluster/api/v1.0\"\nsnapdata_path = os.environ.get('SNAP_DATA')\nsnap_path = os.e... | Python | Apache License 2.0 | canonical/microk8s | Create flanneld config file with using SNAP_DATA env variables (#797)
* Create flanneld config file with using SNAP_DATA env variables as to not
break during snap upgrades.
* Handle upgrade of clustered flannel
* Remove old config before adding it again |
104,088 | 14.11.2019 14:30:37 | 21,600 | e3814b0fae8839251268f2abefb4804f755e1986 | Add support for kubeflow 0.6 dashboard
Requires an HTTPS connection, which means we have to use an ingress
instead of just connecting to the pod itself. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -58,15 +58,15 @@ def main():\npassword_overlay = {\n\"applications\": {\n- \"ambassador-auth\": {\"options\": {\"password\": password}},\n\... | Python | Apache License 2.0 | canonical/microk8s | Add support for kubeflow 0.6 dashboard (#801)
Requires an HTTPS connection, which means we have to use an ingress
instead of just connecting to the pod itself. |
104,062 | 15.11.2019 10:16:50 | 28,800 | 528b83628afa82780af4475753490f96e14819b7 | Disable kf testing | [
{
"change_type": "MODIFY",
"old_path": "tests/test-addons.py",
"new_path": "tests/test-addons.py",
"diff": "@@ -239,6 +239,9 @@ class TestAddons(object):\nprint(\"Skipping kubeflow test as we are under time pressure\")\nreturn\n+ # disabling the kubelfow addon until the new bundle becomes available\... | Python | Apache License 2.0 | canonical/microk8s | Disable kf testing (#804) |
104,113 | 18.11.2019 23:38:20 | -32,400 | 68b5de055e37c7f8ab133d99505f2876babe9266 | Add support for microk8s.enable metallb | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "microk8s-resources/actions/disable.metallb.sh",
"diff": "+#!/usr/bin/env bash\n+\n+set -e\n+\n+source $SNAP/actions/common/utils.sh\n+\n+echo \"Disabling MetalLB\"\n+\n+KUBECTL=\"$SNAP/kubectl --kubeconfig=${SNAP_DATA}/credentials/client.config\... | Python | Apache License 2.0 | canonical/microk8s | Add support for microk8s.enable metallb (#759) |
104,062 | 18.11.2019 06:45:01 | 28,800 | 9e32317d4da060b0ffe0afa24b41c3c675a0e88c | Fix file permissions during clustering | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-add-node.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-add-node.wrapper",
"diff": "@@ -35,6 +35,10 @@ exit_if_stopped\ntoken=$(< /dev/urandom tr -dc A-Za-z | head -c32;echo;)\necho ${token} | tee -a $SNAP_DATA... | Python | Apache License 2.0 | canonical/microk8s | Fix file permissions during clustering (#811) |
104,088 | 27.11.2019 09:20:41 | 21,600 | 741b57d4e22524a4082d5e22193fac5c9b54e9cc | Remove timeout when enabling Kubeflow
A one-size-fits-all timeout won't work for everyone, so just remove it.
Also print out login username/password on successful enablement. | [
{
"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 argparse\nimport json\nimport os\nimport random\n@@ -10,6 +9,7 @@ import sys\nimport tempfile\nimport textwrap... | Python | Apache License 2.0 | canonical/microk8s | Remove timeout when enabling Kubeflow (#826)
A one-size-fits-all timeout won't work for everyone, so just remove it.
Also print out login username/password on successful enablement. |
104,083 | 28.11.2019 06:19:44 | 18,000 | bae14b6794ea8237f347d825817623e2d89f82e7 | Reset StorageClasses and PriorityClasses
These non-namespaced objects were left behind after a reset. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-reset.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-reset.wrapper",
"diff": "@@ -53,6 +53,20 @@ clean_cluster() {\necho \"Removing CRDs\"\n$KUBECTL delete --all customresourcedefinitions.apiextensions.k8s.io\n... | Python | Apache License 2.0 | canonical/microk8s | Reset StorageClasses and PriorityClasses (#791)
These non-namespaced objects were left behind after a reset. |
104,062 | 29.11.2019 17:49:34 | -7,200 | 09e5469f99c1c4664e6336ab24fb14ce46cd44a0 | Correct the group and username of nodes | [
{
"change_type": "MODIFY",
"old_path": "scripts/cluster/agent.py",
"new_path": "scripts/cluster/agent.py",
"diff": "@@ -178,7 +178,7 @@ def add_kubelet_token(hostname):\nuid = ''.join(random.SystemRandom().choice(string.digits) for _ in range(8))\nwith open(file, 'a') as fp:\n# TODO double check thi... | Python | Apache License 2.0 | canonical/microk8s | Correct the group and username of nodes (#836) |
104,088 | 10.12.2019 00:22:49 | 21,600 | 59bbda4af1484c24a1694eb2d23bac6cb731ac5b | Add no proxy option for enabling Kubeflow
When deploying behind a restrictive proxy, this allows one to specify
internal addresses that should not be proxied. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -55,6 +55,7 @@ def juju(*args, **kwargs):\ndef main():\npassword = os.environ.get(\"KUBEFLOW_AUTH_PASSWORD\") or get_random_pass()\nchannel... | Python | Apache License 2.0 | canonical/microk8s | Add no proxy option for enabling Kubeflow (#853)
When deploying behind a restrictive proxy, this allows one to specify
internal addresses that should not be proxied. |
104,062 | 11.12.2019 17:32:34 | -7,200 | 8b6c80c6a6896742daff137aa20b514f543230ae | Get iptable chain rules when inspecting | [
{
"change_type": "MODIFY",
"old_path": "scripts/inspect.sh",
"new_path": "scripts/inspect.sh",
"diff": "@@ -55,6 +55,8 @@ function store_network {\nnetstat -pln &> $INSPECT_DUMP/network/netstat\nifconfig &> $INSPECT_DUMP/network/ifconfig\niptables -t nat -L -n -v &> $INSPECT_DUMP/network/iptables\n+... | Python | Apache License 2.0 | canonical/microk8s | Get iptable chain rules when inspecting (#857) |
104,088 | 13.12.2019 17:11:59 | 18,000 | dbc90b6332ee0d96d94ebeaab044b2815adfe01f | Include charm store in bundle name
To prevent issues when someone has a folder named `kubeflow` in their
working directory. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -93,7 +93,7 @@ def main():\njson.dump(password_overlay, f)\nf.flush()\n- juju(\"deploy\", \"kubeflow\", \"--channel\", channel, \"--overlay... | Python | Apache License 2.0 | canonical/microk8s | Include charm store in bundle name (#864)
To prevent issues when someone has a folder named `kubeflow` in their
working directory. |
104,088 | 07.01.2020 15:08:11 | 21,600 | fd296d64b37c72621a2a2de6c0865b4d84cbdb94 | Switch to stable Juju 2.7 by default for addon
Also allow overriding the version used with an environment variable. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.juju.sh",
"new_path": "microk8s-resources/actions/enable.juju.sh",
"diff": "@@ -4,20 +4,18 @@ set -eu\nsource $SNAP/actions/common/utils.sh\n-\nfunction get_juju_client () {\n# check if juju cli is already in the system. Downl... | Python | Apache License 2.0 | canonical/microk8s | Switch to stable Juju 2.7 by default for addon (#872)
Also allow overriding the version used with an environment variable. |
104,062 | 10.01.2020 13:47:27 | -7,200 | 8fe9334bb8a39410782a194a312eff8a51868faf | Passing env variables to travis | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -28,7 +28,7 @@ script:\n- ./tests/smoke-test.sh\n- export UNDER_TIME_PRESSURE=\"True\"\n- (cd tests; pytest -s verify-branches.py)\n- - (cd tests; sudo pytest -s -rA test-addons.py)\n+ - (cd tests; sudo -E p... | Python | Apache License 2.0 | canonical/microk8s | Passing env variables to travis (#904) |
104,088 | 17.01.2020 03:12:10 | 21,600 | 8ec87c8de7258e5c8f13f22e0cccbfd427a096fa | Add Juju disable script
Adds script for disabling Juju, which removes the binary, allowing a
subsequent enabling of Juju to use a different Juju version. Also
updates Kubeflow disable script to disable Juju as well. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "microk8s-resources/actions/disable.juju.sh",
"diff": "+#!/usr/bin/env bash\n+\n+set -eu\n+\n+source $SNAP/actions/common/utils.sh\n+\n+function disable_juju() {\n+ echo \"Removing Juju...\"\n+ if [ -f \"${SNAP_DATA}/bin/juju\" ]; then\n+ run_wit... | Python | Apache License 2.0 | canonical/microk8s | Add Juju disable script (#914)
Adds script for disabling Juju, which removes the binary, allowing a
subsequent enabling of Juju to use a different Juju version. Also
updates Kubeflow disable script to disable Juju as well. |
104,050 | 20.01.2020 19:19:53 | -36,000 | d2937c74675fde12ce88ca6ddb09d51e26a8f00b | Add ulimit -l 16384 to containerd-env | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/default-args/containerd-env",
"new_path": "microk8s-resources/default-args/containerd-env",
"diff": "# this get inherited to the running containers\n#\nulimit -n 65536 || true\n+\n+# Attempt to change the maximum locked memory limit\n+# this... | Python | Apache License 2.0 | canonical/microk8s | Add ulimit -l 16384 to containerd-env (#916) |
104,090 | 10.02.2020 03:19:14 | 28,800 | 6de3804f56883c0a525f88fb32b0cf17d3a84e95 | Upgrade etcd to version 3.4 | [
{
"change_type": "MODIFY",
"old_path": "build-scripts/fetch-other-binaries.sh",
"new_path": "build-scripts/fetch-other-binaries.sh",
"diff": "@@ -3,7 +3,7 @@ set -eu\nmkdir -p $KUBE_SNAP_BINS\n(cd $KUBE_SNAP_BINS\n- curl -LO https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETC... | Python | Apache License 2.0 | canonical/microk8s | Upgrade etcd to version 3.4 (#894) |
104,088 | 13.02.2020 11:56:11 | 21,600 | 2f9825222b201a9aac24db327baaa334b221ea76 | Fix Kubeflow ingress issues
Allows setting a hostname during `microk8s.enable kubeflow`, in case a
user wants something other than localhost, and also manually creates an
Ingress vs using `juju expose`, due to issues with cluster restart. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -19,7 +19,7 @@ def run(*args, die=True, debug=False):\nenv[\"PATH\"] += \":%s\" % os.environ[\"SNAP\"]\nif debug:\n- print(\"Running `%s`\"... | Python | Apache License 2.0 | canonical/microk8s | Fix Kubeflow ingress issues (#965)
Allows setting a hostname during `microk8s.enable kubeflow`, in case a
user wants something other than localhost, and also manually creates an
Ingress vs using `juju expose`, due to issues with cluster restart. |
104,073 | 17.02.2020 08:54:38 | 18,000 | e82ff1ab717096197215699d61c25457937c35d2 | Add `--assume-yes` to doc and fix PyInstaller issue on Linux
Put the `-y` flag on `--assume-yes` and refect this in the docstring.
Format pyinstaller spec file and add hidden import to fix | [
{
"change_type": "MODIFY",
"old_path": "installer/cli/microk8s.py",
"new_path": "installer/cli/microk8s.py",
"diff": "@@ -92,7 +92,8 @@ def _show_install_help():\n--help Show this message and exit.\n--cpu Cores used by MicroK8s (default={})\n--mem RAM in GB used by MicroK8s (default={})\n- --disk Ma... | Python | Apache License 2.0 | canonical/microk8s | Add `--assume-yes` to doc and fix PyInstaller issue on Linux (#966)
Put the `-y` flag on `--assume-yes` and refect this in the docstring.
Format pyinstaller spec file and add hidden import to fix https://github.com/pypa/setuptools/issues/1963 |
104,099 | 17.02.2020 17:17:47 | -7,200 | c0013c33520b17789bed5eb13a2abc9222698857 | snap_path variable should be where variable points | [
{
"change_type": "MODIFY",
"old_path": "scripts/cluster/agent.py",
"new_path": "scripts/cluster/agent.py",
"diff": "@@ -16,7 +16,7 @@ from flask import Flask, jsonify, request, abort, Response\napp = Flask(__name__)\nCLUSTER_API=\"cluster/api/v1.0\"\nsnapdata_path = os.environ.get('SNAP_DATA')\n-sna... | Python | Apache License 2.0 | canonical/microk8s | snap_path variable should be where variable points (#963) |
104,091 | 17.02.2020 10:03:30 | 21,600 | 7f5a1ef2b787036c0d3c134e538ed0c008861290 | Don't re-enable addons if already enabled | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-enable.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-enable.wrapper",
"diff": "@@ -35,7 +35,14 @@ exit_if_no_permissions\nresult=1\nfor addon in \"$@\"; do\n# Making sure the cluster is up and running befor ea... | Python | Apache License 2.0 | canonical/microk8s | Don't re-enable addons if already enabled (#927) |
104,062 | 18.02.2020 16:53:19 | -7,200 | 9b1ada0bc1a003879a1bff4be1eb801b3f773e66 | Upgrading cilium while it is already enabled | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-enable.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-enable.wrapper",
"diff": "@@ -36,7 +36,7 @@ result=1\nfor addon in \"$@\"; do\n# Making sure the cluster is up and running befor each addon\nSTATUS=$(${SNAP... | Python | Apache License 2.0 | canonical/microk8s | Upgrading cilium while it is already enabled (#968) |
104,062 | 20.02.2020 15:18:06 | -7,200 | 356032ba450a7d5435e90840d2400bb0a5aa5366 | Fix core not installing on arm | [
{
"change_type": "MODIFY",
"old_path": "tests/lxc/install-deps/ubuntu_16.04",
"new_path": "tests/lxc/install-deps/ubuntu_16.04",
"diff": "@@ -5,3 +5,6 @@ export $(grep -v '^#' /etc/environment | xargs)\napt-get update\napt-get install python3-pip docker.io -y\npip3 install -U pytest requests pyyaml\... | Python | Apache License 2.0 | canonical/microk8s | Fix core not installing on arm (#971) |
104,088 | 24.02.2020 15:02:07 | 21,600 | 050e98b4c7ab4f086975dbb3bad08fd052187fcc | Check if metallb is already enabled when enabling it
Allows other scripts such as kubeflow to lazily ensure it's enabled. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.metallb.sh",
"new_path": "microk8s-resources/actions/enable.metallb.sh",
"diff": "@@ -4,6 +4,14 @@ set -e\nsource $SNAP/actions/common/utils.sh\n+KUBECTL=\"$SNAP/kubectl --kubeconfig=${SNAP_DATA}/credentials/client.config\"\n+... | Python | Apache License 2.0 | canonical/microk8s | Check if metallb is already enabled when enabling it (#974)
Allows other scripts such as kubeflow to lazily ensure it's enabled. |
104,062 | 28.02.2020 10:58:57 | -7,200 | 830eb366b18e37fa42009a487231fd0bfdd73411 | Load openssl conf from the right localtion | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-add-node.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-add-node.wrapper",
"diff": "@@ -5,6 +5,7 @@ set -eu\nexport PATH=\"$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH\"\nARCH=\"$($SNAP/bin/uname -m)... | Python | Apache License 2.0 | canonical/microk8s | Load openssl conf from the right localtion (#985) |
104,088 | 02.03.2020 07:24:14 | 18,000 | 0ebbaedb88fa20bdb4f854c5a8528d26941f5c17 | Including juju binary in snap instead of downloading it
Downloading it with `microk8s.enable juju` leads to lots of networking
issues with restrictive firewalls/proxies/etc. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/disable.juju.sh",
"new_path": "microk8s-resources/actions/disable.juju.sh",
"diff": "#!/usr/bin/env bash\n-set -eu\n-\n-source $SNAP/actions/common/utils.sh\n-\n-function disable_juju() {\n- echo \"Removing Juju...\"\n- if [ -f \"${S... | Python | Apache License 2.0 | canonical/microk8s | Including juju binary in snap instead of downloading it (#989)
Downloading it with `microk8s.enable juju` leads to lots of networking
issues with restrictive firewalls/proxies/etc. |
104,088 | 02.03.2020 08:14:17 | 18,000 | f174366adff8a6f501a59f852e0d082b7e14dc27 | Remove Kubeflow scripts on non-amd64 architecture
Fails fast instead of waiting for a Juju bootstrap to fail without
a great error message. | [
{
"change_type": "MODIFY",
"old_path": "snapcraft.yaml",
"new_path": "snapcraft.yaml",
"diff": "@@ -315,6 +315,12 @@ parts:\n# Linkerd support\nrm \"actions/enable.linkerd.sh\"\nrm \"actions/disable.linkerd.sh\"\n+ # Juju support\n+ rm \"actions/enable.juju.sh\"\n+ rm \"actions/disable.juju.sh\"\n+ ... | Python | Apache License 2.0 | canonical/microk8s | Remove Kubeflow scripts on non-amd64 architecture (#992)
Fails fast instead of waiting for a Juju bootstrap to fail without
a great error message. |
104,073 | 02.03.2020 09:04:30 | 18,000 | 9700e5003b60b6474ef301d753e2ea0d4af01325 | Automatically setup and tear down MicroK8s VM in Windows installer | [
{
"change_type": "MODIFY",
"old_path": "installer/windows/microk8s.iss",
"new_path": "installer/windows/microk8s.iss",
"diff": "@@ -52,3 +52,9 @@ begin\nModPath();\nend;\nend;\n+\n+[Run]\n+Filename: \"{app}\\microk8s.exe\"; Parameters: \"install --assume-yes\"; StatusMsg: \"Setting up MicroK8s for t... | Python | Apache License 2.0 | canonical/microk8s | Automatically setup and tear down MicroK8s VM in Windows installer (#999) |
104,069 | 02.03.2020 19:16:23 | -7,200 | a5ec1f9540dbc6500e39dbdf30c79027f8e99239 | Use native containerd snapshotter for ZFS
This is a workaround to allow microk8s to run on ZFS systems.
See issue:
Using the zfs snapshotter would be another option, but currently
it seems that the zfs snapshotter requires it's own dedicated filesystem
and is still missing features such as Usage(). | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/default-args/containerd-template.toml",
"new_path": "microk8s-resources/default-args/containerd-template.toml",
"diff": "@@ -31,7 +31,7 @@ oom_score = 0\nenable_tls_streaming = false\nmax_container_log_line_size = 16384\n[plugins.cri.contain... | Python | Apache License 2.0 | canonical/microk8s | Use native containerd snapshotter for ZFS (#1000)
This is a workaround to allow microk8s to run on ZFS systems.
See issue: #401
Using the zfs snapshotter would be another option, but currently
it seems that the zfs snapshotter requires it's own dedicated filesystem
and is still missing features such as Usage().
... |
104,062 | 05.03.2020 12:56:52 | -7,200 | 013ea296d1b4ddfd82552c97173bc8df7a06cd01 | Improve token management | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-add-node.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-add-node.wrapper",
"diff": "@@ -34,8 +34,10 @@ fi\nexit_if_stopped\n+# We throw away some randomness by only selecting bytes in the A-Za-z range and takin... | Python | Apache License 2.0 | canonical/microk8s | Improve token management (#1006) |
104,088 | 16.03.2020 12:05:58 | 18,000 | 60e532916f1b3762d441ade6b1f26737530699fc | Update kubeflow addon deployment for upstream's 1.0
Needs to be merged after the bundle is moved to stable | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -72,15 +72,24 @@ def main():\npassword_overlay = {\n\"applications\": {\n+ \"dex-auth\": {\n+ \"options\": {\n+ \"public-url\": hostname,\n... | Python | Apache License 2.0 | canonical/microk8s | Update kubeflow addon deployment for upstream's 1.0 (#1021)
Needs to be merged after the bundle is moved to stable |
104,062 | 17.03.2020 10:57:52 | -7,200 | cfa6f386ba679b7a8402f258088eee625780bf5c | Ask users to get ownership of their .kube when entering the microk8s group | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/common/utils.sh",
"new_path": "microk8s-resources/actions/common/utils.sh",
"diff": "@@ -7,6 +7,7 @@ exit_if_no_permissions() {\necho \"You can either try again with sudo or add the user $USER to the 'microk8s' group:\" >&2\necho \"\... | Python | Apache License 2.0 | canonical/microk8s | Ask users to get ownership of their .kube when entering the microk8s group (#1027) |
104,132 | 17.03.2020 19:47:27 | -32,400 | b0f71ccdcc07c2c972e06f2d9a874b0fbf787478 | Fix privilege escalation of metallb on xenial | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.metallb.sh",
"new_path": "microk8s-resources/actions/enable.metallb.sh",
"diff": "@@ -14,6 +14,12 @@ fi\necho \"Enabling MetalLB\"\n+ALLOWESCALATION=false\n+if grep -e ubuntu /proc/version | grep 16.04 &> /dev/null\n+then\n+ A... | Python | Apache License 2.0 | canonical/microk8s | Fix privilege escalation of metallb on xenial (#1029) |
104,073 | 18.03.2020 16:57:11 | 14,400 | d69155869db5110aafaaa3ee968a1e4a918bb113 | Adding setup.py to installer
This is mostly to allow brew Formula automation. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "installer/setup.py",
"diff": "+from setuptools import setup\n+\n+setup(\n+ name='microk8s',\n+ version='1.0.0',\n+ url='https://github.com/ubuntu/microk8s',\n+ license='Apache-2.0',\n+ author='Joe Borg',\n+ author_email='joseph.borg@canonical.co... | Python | Apache License 2.0 | canonical/microk8s | Adding setup.py to installer (#1038)
This is mostly to allow brew Formula automation. |
104,062 | 20.03.2020 12:35:05 | -7,200 | 2c97438bd693a07936f83e1afc5e7418c200f0a3 | Fixes and updates in addons yaml | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/addon-lists.yaml",
"new_path": "microk8s-resources/wrappers/addon-lists.yaml",
"diff": "@@ -101,7 +101,7 @@ microk8s-addons:\n- name: \"linkerd\"\ndescription: \"Linkerd is a service mesh for Kubernetes and other frameworks\"\n- ver... | Python | Apache License 2.0 | canonical/microk8s | Fixes and updates in addons yaml (#1043) |
104,088 | 24.03.2020 14:48:13 | 18,000 | 16bb01bddf70a6d51a16ddb033c9387925fcb9f0 | Fix 1.0 kubeflow enablement
Fixes issues related to accidentally relying on `juju-kubectl` plugin,
and runs code through `black` for better formatting. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -64,32 +64,71 @@ def juju(*args, **kwargs):\nreturn run('microk8s-juju.wrapper', *args, **kwargs)\n+def get_hostname():\n+ \"\"\"Gets the h... | Python | Apache License 2.0 | canonical/microk8s | Fix 1.0 kubeflow enablement (#1055)
Fixes issues related to accidentally relying on `juju-kubectl` plugin,
and runs code through `black` for better formatting. |
104,062 | 25.03.2020 00:22:57 | -7,200 | 48d5102f86dc7d0f829f703a621f958d306cd253 | Update knative to 0.13.0 | [
{
"change_type": "MODIFY",
"old_path": "build-scripts/fetch-other-binaries.sh",
"new_path": "build-scripts/fetch-other-binaries.sh",
"diff": "@@ -20,14 +20,14 @@ mkdir -p $KUBE_SNAP_BINS\nif [ \"$KUBE_ARCH\" = \"amd64\" ]\nthen\n# Knative, not quite binares but still fetcing.\n- mkdir knative-yaml\n... | Python | Apache License 2.0 | canonical/microk8s | Update knative to 0.13.0 (#1052) |
104,062 | 26.03.2020 12:59:55 | -7,200 | 29cae8a13b1dd2ad1c45757256ef242de261c05c | Update knative version in the addons description | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/addon-lists.yaml",
"new_path": "microk8s-resources/wrappers/addon-lists.yaml",
"diff": "@@ -66,7 +66,7 @@ microk8s-addons:\n- name: \"knative\"\ndescription: \"The Knative framework on Kubernetes.\"\n- version: \"0.9.0\"\n+ version:... | Python | Apache License 2.0 | canonical/microk8s | Update knative version in the addons description (#1062) |
104,062 | 26.03.2020 14:37:56 | -7,200 | 38a4f1baa207178c13f3fa38472bf87c6daeb267 | Improve distributions tests
Do the upgrade test before the testing of addons. The upgrade test fails more often so we try to fail fast.
The clusters test part was a place holder for future tests but it was not providing an value. We remove it. | [
{
"change_type": "MODIFY",
"old_path": "tests/test-distro.sh",
"new_path": "tests/test-distro.sh",
"diff": "@@ -53,8 +53,15 @@ then\nPROXY=$4\nfi\n+# Test addons upgrade\n+# TODO Handle local in the upgrade\n+create_machine $NAME $PROXY\n+# use 'script' for required tty: https://github.com/lxc/lxd/i... | Python | Apache License 2.0 | canonical/microk8s | Improve distributions tests (#1063)
- Do the upgrade test before the testing of addons. The upgrade test fails more often so we try to fail fast.
- The clusters test part was a place holder for future tests but it was not providing an value. We remove it. |
104,062 | 03.04.2020 11:48:15 | -10,800 | bb678a960063683085577a5bcc0311ca279cac91 | Introducing a stalebot | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/stale.yml",
"diff": "+# Configuration for probot-stale - https://github.com/probot/stale\n+\n+# Number of days of inactivity before an Issue or Pull Request becomes stale\n+daysUntilStale: 330\n+\n+# Number of days of inactivity before a... | Python | Apache License 2.0 | canonical/microk8s | Introducing a stalebot (#1088) |
104,062 | 04.04.2020 14:32:17 | -10,800 | fce008cb4688c54c1655c95e32779aa32c225ada | Kubeflow not for ARM64
Kubeflow is not available on arm64 | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/addon-lists.yaml",
"new_path": "microk8s-resources/wrappers/addon-lists.yaml",
"diff": "@@ -135,7 +135,6 @@ microk8s-addons:\ncheck_status: \"pod/ambassador-operator-0\"\nsupported_architectures:\n- amd64\n- - arm64\n- name: \"metal... | Python | Apache License 2.0 | canonical/microk8s | Kubeflow not for ARM64 (#1092)
Kubeflow is not available on arm64 |
104,078 | 04.04.2020 23:29:54 | -10,800 | dba62b2ee4ee6daed14965babaf60f85942dc4a2 | Fix the /configure REST endpoint for calling kubectl | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/run-cluster-agent-with-args",
"new_path": "microk8s-resources/wrappers/run-cluster-agent-with-args",
"diff": "#!/bin/bash\n+if [ -z \"$HOME\" ]\n+then\n+ mkdir -p $SNAP_DATA/var/tmp/\n+ export HOME=$SNAP_DATA/var/tmp/\n+fi\n+\nset -... | Python | Apache License 2.0 | canonical/microk8s | Fix the /configure REST endpoint for calling kubectl |
104,154 | 05.04.2020 21:14:21 | -7,200 | 6eeb85c6c67281c12df7b07b61e4889c2f9d2b52 | Add an option to customize the size of the container registry | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.registry.sh",
"new_path": "microk8s-resources/actions/enable.registry.sh",
"diff": "@@ -4,11 +4,43 @@ set -e\nsource $SNAP/actions/common/utils.sh\n-echo \"Enabling the private registry\"\n+regex_args='([a-zA-Z]+=[a-zA-Z0-9]+(... | Python | Apache License 2.0 | canonical/microk8s | Add an option to customize the size of the container registry (#1024) |
104,078 | 08.04.2020 00:44:11 | -10,800 | 74319c0ad3135f51333b2073cd042c49cf7c9668 | Keep only one if-condition for checking when an addon is enabled | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/wrappers/microk8s-enable.wrapper",
"new_path": "microk8s-resources/wrappers/microk8s-enable.wrapper",
"diff": "@@ -24,19 +24,11 @@ exit_if_no_permissions\nresult=1\nfor addon in \"$@\"; do\n- # Making sure the cluster is up and running befor... | Python | Apache License 2.0 | canonical/microk8s | Keep only one if-condition for checking when an addon is enabled (#1051) |
104,088 | 07.04.2020 16:47:54 | 18,000 | bf5809161bfa62778cf104379c6ea2a2ca8d547a | Better addon handling in Kubeflow addon
As a workaround for specifically waits for enabled addons to
finish setting up before proceeding to bootstrapping Juju.
Also runs black formatter over kubeflow enable script and fixes lints | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -41,12 +41,12 @@ def run(*args, die=True, debug=False, stdout=True):\nelse:\nraise\n- result_stdout = result.stdout.decode('utf-8')\n+ resu... | Python | Apache License 2.0 | canonical/microk8s | Better addon handling in Kubeflow addon (#1099)
As a workaround for #1097, specifically waits for enabled addons to
finish setting up before proceeding to bootstrapping Juju.
Also runs black formatter over kubeflow enable script and fixes lints |
104,088 | 14.04.2020 02:29:51 | 18,000 | 84206f0e947f50159b7ee16bfe3d4f9c923602bd | Check total memory before enabling kubeflow
Adds a minimum recommended amount of memory that will get checked
against total system memory before enabling kubeflow. Allows overriding
the check with an environment variable. | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/enable.kubeflow.sh",
"new_path": "microk8s-resources/actions/enable.kubeflow.sh",
"diff": "@@ -12,6 +12,8 @@ import time\nfrom itertools import count\nfrom distutils.util import strtobool\n+MIN_MEM_GB = 14\n+\ndef run(*args, die=True... | Python | Apache License 2.0 | canonical/microk8s | Check total memory before enabling kubeflow (#1110)
Adds a minimum recommended amount of memory that will get checked
against total system memory before enabling kubeflow. Allows overriding
the check with an environment variable. |
104,062 | 16.04.2020 11:49:18 | -10,800 | 395bc12671a12ca14e79f5a72d06765873068210 | Cluster agent configuring dqlite | [
{
"change_type": "MODIFY",
"old_path": "scripts/cluster/agent.py",
"new_path": "scripts/cluster/agent.py",
"diff": "@@ -8,13 +8,17 @@ import socket\nimport string\nimport subprocess\nimport sys\n+import time\n-from .common.utils import try_set_file_permissions\n+import yaml\n+\n+from .common.utils i... | Python | Apache License 2.0 | canonical/microk8s | Cluster agent configuring dqlite (#1108) |
104,062 | 17.04.2020 18:36:24 | -10,800 | e490ba2086e30ab9059283af538715e80ce720f0 | Introduce GH action to build the snap | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/workflows/build-snap.yml",
"diff": "+name: Build MicroK8s snap on PR and push to master\n+\n+on:\n+ push:\n+ branches:\n+ - master\n+ pull_request:\n+ branches:\n+ - master\n+\n+jobs:\n+ build:\n+ name: Create snap package\n+ runs-on: ub... | Python | Apache License 2.0 | canonical/microk8s | Introduce GH action to build the snap (#1123)
Co-authored-by: Joe Borg <joseph.borg@canonical.com> |
104,078 | 17.04.2020 21:41:05 | -10,800 | 2d892b4f70d6f44f621950a24ffa9357c8f466be | Provide a new addon to enable access to host services from pods | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/common/utils.sh",
"new_path": "microk8s-resources/actions/common/utils.sh",
"diff": "@@ -443,6 +443,31 @@ get_all_addons() {\necho $actions\n}\n+\n+function valid_ip() {\n+# Test an IP address for validity:\n+# Usage:\n+# valid_ip IP... | Python | Apache License 2.0 | canonical/microk8s | Provide a new addon to enable access to host services from pods (#1109) |
104,073 | 21.04.2020 02:30:29 | 14,400 | a424aa9802e17989fd2086bbb62811096f7bd9ce | Check Hyper-V and Win version on installer | [
{
"change_type": "MODIFY",
"old_path": "installer/cli/microk8s.py",
"new_path": "installer/cli/microk8s.py",
"diff": "@@ -2,11 +2,12 @@ import argparse\nimport logging\nimport traceback\nfrom typing import List\n-from sys import exit\n+from sys import exit, platform\nimport click\nfrom cli.echo impo... | Python | Apache License 2.0 | canonical/microk8s | Check Hyper-V and Win version on installer (#1112) |
104,062 | 21.04.2020 09:31:39 | -10,800 | 6882e3304d19447423d2e175acea49e083210a3e | Accept --channel in microk8s install | [
{
"change_type": "MODIFY",
"old_path": "installer/build-linux.sh",
"new_path": "installer/build-linux.sh",
"diff": "virtualenv -p python3 .venv\n-source ./bin/activate\n+source ./.venv/bin/activate\npip install -r requirements.txt\npyinstaller ./microk8s.spec\ndeactivate\n"
},
{
"change_type... | Python | Apache License 2.0 | canonical/microk8s | Accept --channel in microk8s install (#1124) |
104,062 | 21.04.2020 09:45:33 | -10,800 | 62d14adac70f8ea54606dc34aded9619e7f78462 | Change VM name of installers to lowercase | [
{
"change_type": "MODIFY",
"old_path": "installer/vm_providers/_base_provider.py",
"new_path": "installer/vm_providers/_base_provider.py",
"diff": "@@ -40,7 +40,7 @@ class Provider(abc.ABC):\nself.echoer = echoer\nself._is_ephemeral = is_ephemeral\n- self.instance_name = \"MicroK8sVM\"\n+ self.insta... | Python | Apache License 2.0 | canonical/microk8s | Change VM name of installers to lowercase (#1125) |
104,062 | 21.04.2020 09:46:44 | -10,800 | 342ba73da54eddbe44a6bf1a84bc6d41b1b73168 | Fixes in --help in installer | [
{
"change_type": "MODIFY",
"old_path": "installer/cli/microk8s.py",
"new_path": "installer/cli/microk8s.py",
"diff": "@@ -224,7 +224,7 @@ def _get_microk8s_commands() -> List:\ninstance_info = instance.get_instance_info()\nif instance_info.is_running():\ncommands = instance.run('ls -1 /snap/bin/'.sp... | Python | Apache License 2.0 | canonical/microk8s | Fixes in --help in installer (#1126) |
104,073 | 21.04.2020 09:14:54 | 14,400 | 72ac9c8fe251301897cf7722b760c82932fefe12 | Installer 1.0.2 release | [
{
"change_type": "MODIFY",
"old_path": "installer/setup.py",
"new_path": "installer/setup.py",
"diff": "@@ -2,7 +2,7 @@ from setuptools import setup\nsetup(\nname='microk8s',\n- version='1.0.1',\n+ version='1.0.2',\nurl='https://github.com/ubuntu/microk8s',\nlicense='Apache-2.0',\nauthor='Joe Borg',... | Python | Apache License 2.0 | canonical/microk8s | Installer 1.0.2 release (#1129) |
104,073 | 22.04.2020 01:59:11 | 14,400 | a1d19f796602ea788d1e6a2c63f61264804e8f6b | Add connectivity tests in installer | [
{
"change_type": "MODIFY",
"old_path": "installer/requirements.txt",
"new_path": "installer/requirements.txt",
"diff": "+urllib3==1.24\nclick~=7.0\njsonschema==2.5.1\nprogressbar33==2.4\n"
},
{
"change_type": "MODIFY",
"old_path": "installer/setup.py",
"new_path": "installer/setup.py... | Python | Apache License 2.0 | canonical/microk8s | Add connectivity tests in installer (#1130) |
104,073 | 23.04.2020 10:49:18 | 14,400 | 3a71bb15fbfae914bd680834b4519cfc87e50bdd | MacOS disk space check | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "/snap/*\n!/snap/hooks/\n*.snap\n+microk8s.egg-info/\nmicrok8s_source.tar.bz2\ntests/__pycache__\n.idea/\n"
},
{
"change_type": "MODIFY",
"old_path": "installer/cli/microk8s.py",
"new_path": "insta... | Python | Apache License 2.0 | canonical/microk8s | MacOS disk space check (#1134) |
104,073 | 24.04.2020 13:06:27 | 14,400 | fb944c8c058d01462d3000c51e6d7ff9608043e1 | Multipass v1.2.0 release | [
{
"change_type": "MODIFY",
"old_path": "installer/vm_providers/_multipass/_windows.py",
"new_path": "installer/vm_providers/_multipass/_windows.py",
"diff": "@@ -41,11 +41,11 @@ logger = logging.getLogger(__name__)\n_MULTIPASS_RELEASES_API_URL = (\n\"https://api.github.com/repos/canonical/multipass/... | Python | Apache License 2.0 | canonical/microk8s | Multipass v1.2.0 release (#1141) |
104,073 | 27.04.2020 12:58:22 | 14,400 | 4ee6ad25ffc53b61440a1d09f0a668854dbfde6c | Extend CA certs to last 10 years | [
{
"change_type": "MODIFY",
"old_path": "microk8s-resources/actions/common/utils.sh",
"new_path": "microk8s-resources/actions/common/utils.sh",
"diff": "@@ -326,12 +326,12 @@ produce_certs() {\n# Generate apiserver CA\nif ! [ -f ${SNAP_DATA}/certs/ca.crt ]; then\n- ${SNAP}/usr/bin/openssl req -x509 -... | Python | Apache License 2.0 | canonical/microk8s | Extend CA certs to last 10 years (#1153) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.