@@ -55,7 +55,7 @@ var _ = Describe("GKE workload cluster creation", func() {
5555 Expect (bootstrapClusterProxy ).ToNot (BeNil (), "Invalid argument. bootstrapClusterProxy can't be nil when calling %s spec" , specName )
5656 Expect (os .MkdirAll (artifactFolder , 0o755 )).To (Succeed (), "Invalid argument. artifactFolder can't be created for %s spec" , specName )
5757
58- Expect (e2eConfig .Variables ).To (HaveKey (KubernetesVersion ))
58+ Expect (e2eConfig .Variables ).To (HaveKey (KubernetesVersionGKE ))
5959
6060 clusterNamePrefix = fmt .Sprintf ("%s-%s" , specName , util .RandomString (6 ))
6161
@@ -158,7 +158,7 @@ var _ = Describe("GKE workload cluster creation", func() {
158158 Flavor : "ci-gke-autopilot" ,
159159 Namespace : namespace .Name ,
160160 ClusterName : clusterName ,
161- KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersion ),
161+ KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersionGKE ),
162162 ControlPlaneMachineCount : ptr.To [int64 ](1 ),
163163 WorkerMachineCount : ptr.To [int64 ](0 ),
164164 },
@@ -184,7 +184,7 @@ var _ = Describe("GKE workload cluster creation", func() {
184184 Flavor : "ci-gke-custom-subnet" ,
185185 Namespace : namespace .Name ,
186186 ClusterName : clusterName ,
187- KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersion ),
187+ KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersionGKE ),
188188 ControlPlaneMachineCount : ptr.To [int64 ](1 ),
189189 WorkerMachineCount : ptr.To [int64 ](3 ),
190190 ClusterctlVariables : map [string ]string {
@@ -214,7 +214,7 @@ var _ = Describe("GKE workload cluster creation", func() {
214214 Flavor : "ci-gke-autopilot-topology" ,
215215 Namespace : namespace .Name ,
216216 ClusterName : clusterName ,
217- KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersion ),
217+ KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersionGKE ),
218218 ControlPlaneMachineCount : ptr.To [int64 ](1 ),
219219 WorkerMachineCount : ptr.To [int64 ](0 ),
220220 },
0 commit comments