diff --git a/bin/update.sh b/bin/update.sh index 2b9a87d..8371a2a 100755 --- a/bin/update.sh +++ b/bin/update.sh @@ -10,7 +10,8 @@ rm -fr generated{,.log} scope.yaml # https://github.com/weaveworks/weave/releases/download/latest_release/weave-daemonset-k8s-1.11.yaml -curl -LO https://cloud.weave.works/k8s/2.6.4/net.yaml -o net.yaml +WEAVE_NET_VERSION="$(curl --silent "https://api.github.com/repos/weaveworks/weave/releases/latest" | jq {"body"} | sed -e '/^{/d' -e '/^}/d' -e 's|.*/releases/v\([0-9\.]*\).*|\1|')" +curl -LO https://cloud.weave.works/k8s/"${WEAVE_NET_VERSION}"/net.yaml -o net.yaml sed -e /^apiVersion/d -e /^kind/d -e /^items/d -e "s/^ //" -e '/^- / i---' -e 's/^[ -] //' -i net.yaml kubernetes-split-yaml net.yaml > generated.log mv generated/*.yaml files/net/ diff --git a/files/net/weave-net-ClusterRole.yaml b/files/net/weave-net-ClusterRole.yaml index 0cbd333..79e3310 100644 --- a/files/net/weave-net-ClusterRole.yaml +++ b/files/net/weave-net-ClusterRole.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/v1.16/net.yaml", - "date": "Sat May 30 2020 11:20:32 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:23 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/net/weave-net-ClusterRoleBinding.yaml b/files/net/weave-net-ClusterRoleBinding.yaml index 28db8e8..04b3e90 100644 --- a/files/net/weave-net-ClusterRoleBinding.yaml +++ b/files/net/weave-net-ClusterRoleBinding.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/v1.16/net.yaml", - "date": "Sat May 30 2020 11:20:32 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:23 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/net/weave-net-DaemonSet.yaml b/files/net/weave-net-DaemonSet.yaml index 8e0dbac..685e72b 100644 --- a/files/net/weave-net-DaemonSet.yaml +++ b/files/net/weave-net-DaemonSet.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/v1.16/net.yaml", - "date": "Sat May 30 2020 11:20:32 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:23 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } @@ -45,7 +45,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: 'docker.io/weaveworks/weave-kube:2.6.4' + image: 'docker.io/weaveworks/weave-kube:2.6.5' readinessProbe: httpGet: host: 127.0.0.1 @@ -78,7 +78,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: 'docker.io/weaveworks/weave-npc:2.6.4' + image: 'docker.io/weaveworks/weave-npc:2.6.5' resources: requests: cpu: 10m diff --git a/files/net/weave-net-Role.yaml b/files/net/weave-net-Role.yaml index fbc6204..b2a9b8e 100644 --- a/files/net/weave-net-Role.yaml +++ b/files/net/weave-net-Role.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/v1.16/net.yaml", - "date": "Sat May 30 2020 11:20:32 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:23 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/net/weave-net-RoleBinding.yaml b/files/net/weave-net-RoleBinding.yaml index 61ce98a..ecf20be 100644 --- a/files/net/weave-net-RoleBinding.yaml +++ b/files/net/weave-net-RoleBinding.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/v1.16/net.yaml", - "date": "Sat May 30 2020 11:20:32 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:23 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/net/weave-net-ServiceAccount.yaml b/files/net/weave-net-ServiceAccount.yaml index 83ff764..d493906 100644 --- a/files/net/weave-net-ServiceAccount.yaml +++ b/files/net/weave-net-ServiceAccount.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/v1.16/net.yaml", - "date": "Sat May 30 2020 11:20:32 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:23 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/scope/weave-scope-ClusterRole.yaml b/files/scope/weave-scope-ClusterRole.yaml index 314c1fc..342461e 100644 --- a/files/scope/weave-scope-ClusterRole.yaml +++ b/files/scope/weave-scope-ClusterRole.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/1.13.1/scope.yaml", - "date": "Sat May 30 2020 11:20:31 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:21 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/scope/weave-scope-ClusterRoleBinding.yaml b/files/scope/weave-scope-ClusterRoleBinding.yaml index 433c9cf..78b0bc9 100644 --- a/files/scope/weave-scope-ClusterRoleBinding.yaml +++ b/files/scope/weave-scope-ClusterRoleBinding.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/1.13.1/scope.yaml", - "date": "Sat May 30 2020 11:20:31 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:21 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/scope/weave-scope-ServiceAccount.yaml b/files/scope/weave-scope-ServiceAccount.yaml index d1c70cb..b6ffe94 100644 --- a/files/scope/weave-scope-ServiceAccount.yaml +++ b/files/scope/weave-scope-ServiceAccount.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/1.13.1/scope.yaml", - "date": "Sat May 30 2020 11:20:31 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:21 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/scope/weave-scope-agent-DaemonSet.yaml b/files/scope/weave-scope-agent-DaemonSet.yaml index dd6ddc1..70eeadb 100644 --- a/files/scope/weave-scope-agent-DaemonSet.yaml +++ b/files/scope/weave-scope-agent-DaemonSet.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/1.13.1/scope.yaml", - "date": "Sat May 30 2020 11:20:31 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:21 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/scope/weave-scope-app-Deployment.yaml b/files/scope/weave-scope-app-Deployment.yaml index 293878a..9edb74e 100644 --- a/files/scope/weave-scope-app-Deployment.yaml +++ b/files/scope/weave-scope-app-Deployment.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/1.13.1/scope.yaml", - "date": "Sat May 30 2020 11:20:31 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:21 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/scope/weave-scope-app-Service.yaml b/files/scope/weave-scope-app-Service.yaml index c6f63aa..c065368 100644 --- a/files/scope/weave-scope-app-Service.yaml +++ b/files/scope/weave-scope-app-Service.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/1.13.1/scope.yaml", - "date": "Sat May 30 2020 11:20:31 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:21 GMT+0000 (UTC)" }, "email-address": "support@weave.works" } diff --git a/files/scope/weave-scope-cluster-agent-Deployment.yaml b/files/scope/weave-scope-cluster-agent-Deployment.yaml index c4b2b1a..e2ba165 100644 --- a/files/scope/weave-scope-cluster-agent-Deployment.yaml +++ b/files/scope/weave-scope-cluster-agent-Deployment.yaml @@ -7,7 +7,7 @@ metadata: { "original-request": { "url": "/k8s/1.13.1/scope.yaml", - "date": "Sat May 30 2020 11:20:31 GMT+0000 (UTC)" + "date": "Wed Jun 10 2020 20:07:21 GMT+0000 (UTC)" }, "email-address": "support@weave.works" }