From 6b1ce5a5a46c07482f3e1faf76be6f4cbbe367c9 Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Mon, 5 Feb 2024 19:03:59 +0100 Subject: [PATCH] test: run the prekubeadmscript first --- .../main/clusterclass/patch-prekubeadmscript.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/data/infrastructure-vsphere/main/clusterclass/patch-prekubeadmscript.yaml b/test/e2e/data/infrastructure-vsphere/main/clusterclass/patch-prekubeadmscript.yaml index 73e54a791e..04771c3d48 100644 --- a/test/e2e/data/infrastructure-vsphere/main/clusterclass/patch-prekubeadmscript.yaml +++ b/test/e2e/data/infrastructure-vsphere/main/clusterclass/patch-prekubeadmscript.yaml @@ -4,7 +4,7 @@ definitions: - jsonPatches: - op: add - path: /spec/template/spec/kubeadmConfigSpec/preKubeadmCommands/- + path: /spec/template/spec/kubeadmConfigSpec/preKubeadmCommands/0 value: "/opt/prekubeadmscript.sh" - op: add path: /spec/template/spec/kubeadmConfigSpec/files/- @@ -21,7 +21,7 @@ controlPlane: true - jsonPatches: - op: add - path: /spec/template/spec/preKubeadmCommands/- + path: /spec/template/spec/preKubeadmCommands/0 value: "/opt/prekubeadmscript.sh" - op: add path: /spec/template/spec/files/-