From 2cda00345ac9e52a3f94227c66fa39b379bb97fc Mon Sep 17 00:00:00 2001 From: Satoru Takeuchi Date: Tue, 7 Jul 2020 03:38:47 +0900 Subject: [PATCH] tests: fix aws_1.11.x test failure kubelet in aws_1.11.x test requires kubernetes-cni 0.7.5. Closes: https://github.com/rook/rook/issues/5711 Signed-off-by: Satoru Takeuchi --- tests/scripts/kubeadm-install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/scripts/kubeadm-install.sh b/tests/scripts/kubeadm-install.sh index 424a66f00..e54e6dc3c 100755 --- a/tests/scripts/kubeadm-install.sh +++ b/tests/scripts/kubeadm-install.sh @@ -47,4 +47,10 @@ sudo apt-get update wait_for_dpkg_unlock sleep 5 wait_for_dpkg_unlock + +# We install the specific version of kubernetes-cni for aws_1.11.x test. +# kubelet in this test requires the version. If the newer versions are +# necessary in the tests of other Kubernetes versions, kubernetes-cni is +# updated in the kubelet installation. +sudo apt-get install -y kubernetes-cni="0.7.5-00" sudo apt-get install -y kubelet="${KUBE_INSTALL_VERSION}" kubeadm="${KUBE_INSTALL_VERSION}" nfs-common