@@ -123,30 +123,29 @@ var _ = Describe("When testing clusterctl upgrades (v1.0=>current)", func() {
123
123
})
124
124
})
125
125
126
- var _ = Describe ("When testing clusterctl upgrades (v1.2 =>current)" , func () {
126
+ var _ = Describe ("When testing clusterctl upgrades (v1.3 =>current)" , func () {
127
127
ClusterctlUpgradeSpec (ctx , func () ClusterctlUpgradeSpecInput {
128
128
return ClusterctlUpgradeSpecInput {
129
129
E2EConfig : e2eConfig ,
130
130
ClusterctlConfigPath : clusterctlConfigPath ,
131
131
BootstrapClusterProxy : bootstrapClusterProxy ,
132
132
ArtifactFolder : artifactFolder ,
133
133
SkipCleanup : skipCleanup ,
134
- InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.11 /clusterctl-{OS}-{ARCH}" ,
134
+ InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.6 /clusterctl-{OS}-{ARCH}" ,
135
135
// We have to pin the providers because with `InitWithProvidersContract` the test would
136
- // use the latest version for the contract (which is v1.3 .X for v1beta1).
137
- InitWithCoreProvider : "cluster-api:v1.2.11 " ,
138
- InitWithBootstrapProviders : []string {"kubeadm:v1.2.11 " },
139
- InitWithControlPlaneProviders : []string {"kubeadm:v1.2.11 " },
140
- InitWithInfrastructureProviders : []string {"docker:v1.2.11 " },
141
- // We have to set this to an empty array as clusterctl v1.2 doesn't support
136
+ // use the latest version for the contract (which is v1.4 .X for v1beta1).
137
+ InitWithCoreProvider : "cluster-api:v1.3.6 " ,
138
+ InitWithBootstrapProviders : []string {"kubeadm:v1.3.6 " },
139
+ InitWithControlPlaneProviders : []string {"kubeadm:v1.3.6 " },
140
+ InitWithInfrastructureProviders : []string {"docker:v1.3.6 " },
141
+ // We have to set this to an empty array as clusterctl v1.3 doesn't support
142
142
// runtime extension providers. If we don't do this the test will automatically
143
143
// try to deploy the latest version of our test-extension from docker.yaml.
144
144
InitWithRuntimeExtensionProviders : []string {},
145
+ InitWithProvidersContract : "v1beta1" ,
145
146
InitWithKubernetesVersion : "v1.26.0" ,
146
- // TODO(sbueringer) The topology flavor enables PSA.
147
- // CAPD will only work with PSA after we have a release with https://github.com/kubernetes-sigs/cluster-api/pull/8313.
148
- //MgmtFlavor: "topology",
149
- WorkloadFlavor : "" ,
147
+ MgmtFlavor : "topology" ,
148
+ WorkloadFlavor : "" ,
150
149
// This check ensures that ownerReference apiVersions are updated for all types after the upgrade.
151
150
PostUpgrade : func (proxy framework.ClusterProxy , namespace , clusterName string ) {
152
151
framework .ValidateOwnerReferencesOnUpdate (proxy , namespace ,
@@ -162,30 +161,29 @@ var _ = Describe("When testing clusterctl upgrades (v1.2=>current)", func() {
162
161
})
163
162
})
164
163
165
- var _ = Describe ("When testing clusterctl upgrades using ClusterClass (v1.2 =>current) [ClusterClass]" , func () {
164
+ var _ = Describe ("When testing clusterctl upgrades using ClusterClass (v1.3 =>current) [ClusterClass]" , func () {
166
165
ClusterctlUpgradeSpec (ctx , func () ClusterctlUpgradeSpecInput {
167
166
return ClusterctlUpgradeSpecInput {
168
167
E2EConfig : e2eConfig ,
169
168
ClusterctlConfigPath : clusterctlConfigPath ,
170
169
BootstrapClusterProxy : bootstrapClusterProxy ,
171
170
ArtifactFolder : artifactFolder ,
172
171
SkipCleanup : skipCleanup ,
173
- InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.11 /clusterctl-{OS}-{ARCH}" ,
172
+ InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.6 /clusterctl-{OS}-{ARCH}" ,
174
173
// We have to pin the providers because with `InitWithProvidersContract` the test would
175
- // use the latest version for the contract (which is v1.3 .X for v1beta1).
176
- InitWithCoreProvider : "cluster-api:v1.2.11 " ,
177
- InitWithBootstrapProviders : []string {"kubeadm:v1.2.11 " },
178
- InitWithControlPlaneProviders : []string {"kubeadm:v1.2.11 " },
179
- InitWithInfrastructureProviders : []string {"docker:v1.2.11 " },
180
- // We have to set this to an empty array as clusterctl v1.2 doesn't support
174
+ // use the latest version for the contract (which is v1.4 .X for v1beta1).
175
+ InitWithCoreProvider : "cluster-api:v1.3.6 " ,
176
+ InitWithBootstrapProviders : []string {"kubeadm:v1.3.6 " },
177
+ InitWithControlPlaneProviders : []string {"kubeadm:v1.3.6 " },
178
+ InitWithInfrastructureProviders : []string {"docker:v1.3.6 " },
179
+ // We have to set this to an empty array as clusterctl v1.3 doesn't support
181
180
// runtime extension providers. If we don't do this the test will automatically
182
181
// try to deploy the latest version of our test-extension from docker.yaml.
183
182
InitWithRuntimeExtensionProviders : []string {},
183
+ InitWithProvidersContract : "v1beta1" ,
184
184
InitWithKubernetesVersion : "v1.26.0" ,
185
- // TODO(sbueringer) The topology flavor enables PSA.
186
- // CAPD will only work with PSA after we have a release with https://github.com/kubernetes-sigs/cluster-api/pull/8313.
187
- //MgmtFlavor: "topology",
188
- WorkloadFlavor : "topology" ,
185
+ MgmtFlavor : "topology" ,
186
+ WorkloadFlavor : "topology" ,
189
187
// This check ensures that ownerReference apiVersions are updated for all types after the upgrade.
190
188
PostUpgrade : func (proxy framework.ClusterProxy , namespace , clusterName string ) {
191
189
framework .ValidateOwnerReferencesOnUpdate (proxy , namespace ,
@@ -201,15 +199,15 @@ var _ = Describe("When testing clusterctl upgrades using ClusterClass (v1.2=>cur
201
199
})
202
200
})
203
201
204
- var _ = Describe ("When testing clusterctl upgrades (v1.3 =>current)" , func () {
202
+ var _ = Describe ("When testing clusterctl upgrades (v1.4 =>current)" , func () {
205
203
ClusterctlUpgradeSpec (ctx , func () ClusterctlUpgradeSpecInput {
206
204
return ClusterctlUpgradeSpecInput {
207
205
E2EConfig : e2eConfig ,
208
206
ClusterctlConfigPath : clusterctlConfigPath ,
209
207
BootstrapClusterProxy : bootstrapClusterProxy ,
210
208
ArtifactFolder : artifactFolder ,
211
209
SkipCleanup : skipCleanup ,
212
- InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.5 /clusterctl-{OS}-{ARCH}" ,
210
+ InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.4.0 /clusterctl-{OS}-{ARCH}" ,
213
211
InitWithProvidersContract : "v1beta1" ,
214
212
InitWithKubernetesVersion : "v1.26.0" ,
215
213
MgmtFlavor : "topology" ,
@@ -229,15 +227,15 @@ var _ = Describe("When testing clusterctl upgrades (v1.3=>current)", func() {
229
227
})
230
228
})
231
229
232
- var _ = Describe ("When testing clusterctl upgrades using ClusterClass (v1.3 =>current) [ClusterClass]" , func () {
230
+ var _ = Describe ("When testing clusterctl upgrades using ClusterClass (v1.4 =>current) [ClusterClass]" , func () {
233
231
ClusterctlUpgradeSpec (ctx , func () ClusterctlUpgradeSpecInput {
234
232
return ClusterctlUpgradeSpecInput {
235
233
E2EConfig : e2eConfig ,
236
234
ClusterctlConfigPath : clusterctlConfigPath ,
237
235
BootstrapClusterProxy : bootstrapClusterProxy ,
238
236
ArtifactFolder : artifactFolder ,
239
237
SkipCleanup : skipCleanup ,
240
- InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.5 /clusterctl-{OS}-{ARCH}" ,
238
+ InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.4.0 /clusterctl-{OS}-{ARCH}" ,
241
239
InitWithProvidersContract : "v1beta1" ,
242
240
InitWithKubernetesVersion : "v1.26.0" ,
243
241
MgmtFlavor : "topology" ,
0 commit comments