From ba8101d9e8945361316e1d71db17baf3878bf4a0 Mon Sep 17 00:00:00 2001 From: Ted Sluis Date: Thu, 26 Apr 2018 10:47:54 +0200 Subject: [PATCH] Changed deprecated URL https://git.io/weave-kube to https://cloud.weave.works/k8s/net?k8s-version= --- roles/master/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/master/tasks/main.yml b/roles/master/tasks/main.yml index 5fe05fb..bc79854 100644 --- a/roles/master/tasks/main.yml +++ b/roles/master/tasks/main.yml @@ -33,7 +33,7 @@ register: kubeadm_join - name: Install Weave (Networking) - shell: kubectl apply -f https://git.io/weave-kube-1.6 + shell: kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')" - name: Poke kubelet systemd: @@ -41,4 +41,4 @@ state: restarted daemon_reload: yes enabled: yes - register: kubelet_poke \ No newline at end of file + register: kubelet_poke