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/-