From: czichy Date: Mon, 15 Aug 2022 04:48:28 +0000 (+0300) Subject: RIC-935 Changing flannel version X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=4e8ef19ebad910acaa75b44f2f8d7b1077060fe4;p=ric-plt%2Fric-dep.git 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 Change-Id: Idd02f23afd379338408383bea9b6dbc3f144817d Signed-off-by: czichy --- 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