RIC-935 Changing flannel version 89/8889/1
authorczichy <thoralf.czichy@nokia.com>
Mon, 15 Aug 2022 05:27:07 +0000 (08:27 +0300)
committerczichy <thoralf.czichy@nokia.com>
Mon, 15 Aug 2022 05:27:07 +0000 (08:27 +0300)
Newer versions of flannel use the namespace kube-flannel. We (for
now continue with the old version that uses kube-system.

Issue-ID: RIC-935

Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: If3a69bfd606b58d5b8b7dda220cfe42ce5d6e6ce

bin/install_k8s_and_helm.sh

index 84bed9a..234e920 100755 (executable)
@@ -338,7 +338,8 @@ EOF
 
   kubectl get pods --all-namespaces
 
-  kubectl apply -f "https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml"
+  # we refer to version 0.18.1 because later versions use namespace kube-flannel instead of kube-system TODO
+  kubectl apply -f "https://raw.githubusercontent.com/flannel-io/flannel/v0.18.1/Documentation/kube-flannel.yml"
 
   wait_for_pods_running 8 kube-system