From 90411125d72fea2a14b4a2342c2cc91cb64352ca Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Tue, 20 Aug 2024 11:28:35 +0200 Subject: [PATCH] fix(test): worker nodes join support from v1.29 onwards Signed-off-by: Dario Tranchitella --- e2e/worker_kubeadm_join_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/worker_kubeadm_join_test.go b/e2e/worker_kubeadm_join_test.go index 993c37ee..6644cfdf 100644 --- a/e2e/worker_kubeadm_join_test.go +++ b/e2e/worker_kubeadm_join_test.go @@ -57,7 +57,7 @@ var _ = Describe("starting a kind worker with kubeadm", func() { Port: 31443, }, Kubernetes: kamajiv1alpha1.KubernetesSpec{ - Version: "v1.25.3", + Version: "v1.29.0", Kubelet: kamajiv1alpha1.KubeletSpec{ CGroupFS: "cgroupfs", }, @@ -143,7 +143,7 @@ var _ = Describe("starting a kind worker with kubeadm", func() { }) By("executing the command in the worker node", func() { - cmds := append(strings.Split(strings.TrimSpace(joinCommandBuffer.String()), " "), "--ignore-preflight-errors", "SystemVerification") + cmds := append(strings.Split(strings.TrimSpace(joinCommandBuffer.String()), " "), "--ignore-preflight-errors=SystemVerification,Swap") exitCode, _, err := workerContainer.Exec(ctx, cmds) Expect(exitCode).To(Equal(0))