From a6dd84cf07a4f3e131aeeaca1ae8dffea078ab2d Mon Sep 17 00:00:00 2001 From: czichy Date: Mon, 15 Aug 2022 08:27:07 +0300 Subject: [PATCH] RIC-935 Changing flannel version 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 Change-Id: If3a69bfd606b58d5b8b7dda220cfe42ce5d6e6ce --- bin/install_k8s_and_helm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/install_k8s_and_helm.sh b/bin/install_k8s_and_helm.sh index 84bed9a..234e920 100755 --- a/bin/install_k8s_and_helm.sh +++ b/bin/install_k8s_and_helm.sh @@ -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 -- 2.16.6