@@ -55,7 +55,7 @@ var _ = Describe("GKE workload cluster creation", func() {
55
55
Expect (bootstrapClusterProxy ).ToNot (BeNil (), "Invalid argument. bootstrapClusterProxy can't be nil when calling %s spec" , specName )
56
56
Expect (os .MkdirAll (artifactFolder , 0o755 )).To (Succeed (), "Invalid argument. artifactFolder can't be created for %s spec" , specName )
57
57
58
- Expect (e2eConfig .Variables ).To (HaveKey (KubernetesVersion ))
58
+ Expect (e2eConfig .Variables ).To (HaveKey (KubernetesVersionGKE ))
59
59
60
60
clusterNamePrefix = fmt .Sprintf ("%s-%s" , specName , util .RandomString (6 ))
61
61
@@ -158,7 +158,7 @@ var _ = Describe("GKE workload cluster creation", func() {
158
158
Flavor : "ci-gke-autopilot" ,
159
159
Namespace : namespace .Name ,
160
160
ClusterName : clusterName ,
161
- KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersion ),
161
+ KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersionGKE ),
162
162
ControlPlaneMachineCount : ptr.To [int64 ](1 ),
163
163
WorkerMachineCount : ptr.To [int64 ](0 ),
164
164
},
@@ -184,7 +184,7 @@ var _ = Describe("GKE workload cluster creation", func() {
184
184
Flavor : "ci-gke-custom-subnet" ,
185
185
Namespace : namespace .Name ,
186
186
ClusterName : clusterName ,
187
- KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersion ),
187
+ KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersionGKE ),
188
188
ControlPlaneMachineCount : ptr.To [int64 ](1 ),
189
189
WorkerMachineCount : ptr.To [int64 ](3 ),
190
190
ClusterctlVariables : map [string ]string {
@@ -214,7 +214,7 @@ var _ = Describe("GKE workload cluster creation", func() {
214
214
Flavor : "ci-gke-autopilot-topology" ,
215
215
Namespace : namespace .Name ,
216
216
ClusterName : clusterName ,
217
- KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersion ),
217
+ KubernetesVersion : e2eConfig .MustGetVariable (KubernetesVersionGKE ),
218
218
ControlPlaneMachineCount : ptr.To [int64 ](1 ),
219
219
WorkerMachineCount : ptr.To [int64 ](0 ),
220
220
},
0 commit comments