Skip to content

Commit

Permalink
fix(test): worker nodes join support from v1.29 onwards
Browse files Browse the repository at this point in the history
Signed-off-by: Dario Tranchitella <[email protected]>
  • Loading branch information
prometherion committed Aug 20, 2024
1 parent 40cb9df commit de7d302
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/worker_kubeadm_join_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down Expand Up @@ -143,11 +143,11 @@ 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")

exitCode, _, err := workerContainer.Exec(ctx, cmds)
Expect(exitCode).To(Equal(0))
Expect(err).ToNot(HaveOccurred())
Expect(exitCode).To(Equal(0))
})

By("waiting for nodes", func() {
Expand Down

0 comments on commit de7d302

Please sign in to comment.