@@ -172,12 +172,12 @@ var _ = Describe("Chart upgrade functionality should work", Ordered, Label(e2e.S
172172 By ("Upgrading Rancher to 2.13.x with Gitea chart repository (enables system chart controller)" )
173173 testenv .UpgradeRancherWithGitea (ctx , testenv.UpgradeRancherWithGiteaInput {
174174 BootstrapClusterProxy : bootstrapClusterProxy ,
175- // at the time of adding this test, there's no stable chart in `rancher-latest` for v2.13.0, so we use a release candidate
176- RancherVersion : "2.13.0-rc2" ,
177- ChartRepoURL : chartsResult .ChartRepoHTTPURL ,
178- ChartRepoBranch : chartsResult . Branch ,
179- ChartVersion : chartsResult . ChartVersion ,
180- RancherWaitInterval : e2eConfig .GetIntervals (bootstrapClusterProxy .GetName (), "wait-rancher" ),
175+ ChartRepoURL : chartsResult . ChartRepoHTTPURL ,
176+ ChartRepoBranch : chartsResult . Branch ,
177+ ChartVersion : chartsResult .ChartVersion ,
178+ TurtlesImageRepo : "ghcr.io/rancher/turtles-e2e" ,
179+ TurtlesImageTag : "v0.0.1" ,
180+ RancherWaitInterval : e2eConfig .GetIntervals (bootstrapClusterProxy .GetName (), "wait-rancher" ),
181181 })
182182
183183 By ("Waiting for Rancher to be ready after upgrade" )
@@ -209,36 +209,39 @@ var _ = Describe("Chart upgrade functionality should work", Ordered, Label(e2e.S
209209 UseLegacyCAPINamespace : false , // v0.25.x uses new cattle-capi-system namespace
210210 RancherTurtlesNamespace : e2e .NewRancherTurtlesNamespace ,
211211 ProviderList : "docker,aws,gcp" ,
212- AdditionalValues : map [string ]string {
213- "providers.infrastructureDocker.enabled" : "true" ,
214- "providers.infrastructureAWS.enabled" : "true" ,
215- "providers.infrastructureGCP.enabled" : "true" ,
216- },
217212 })
218213
219214 By ("Verifying all CAPI providers are running after upgrade" )
220- framework .WaitForCAPIProviderRollout (ctx , framework.WaitForCAPIProviderRolloutInput {
221- Getter : bootstrapClusterProxy .GetClient (),
222- Name : "cluster-api" ,
223- Namespace : "cattle-capi-system" ,
215+ capiframework .WaitForDeploymentsAvailable (ctx , capiframework.WaitForDeploymentsAvailableInput {
216+ Getter : bootstrapClusterProxy .GetClient (),
217+ Deployment : & appsv1.Deployment {ObjectMeta : metav1.ObjectMeta {
218+ Name : "capi-controller-manager" ,
219+ Namespace : "cattle-capi-system" ,
220+ }},
224221 }, e2eConfig .GetIntervals (bootstrapClusterProxy .GetName (), "wait-controllers" )... )
225222
226- framework .WaitForCAPIProviderRollout (ctx , framework.WaitForCAPIProviderRolloutInput {
227- Getter : bootstrapClusterProxy .GetClient (),
228- Name : "docker" ,
229- Namespace : "cattle-capi-system" ,
223+ capiframework .WaitForDeploymentsAvailable (ctx , capiframework.WaitForDeploymentsAvailableInput {
224+ Getter : bootstrapClusterProxy .GetClient (),
225+ Deployment : & appsv1.Deployment {ObjectMeta : metav1.ObjectMeta {
226+ Name : "capd-controller-manager" ,
227+ Namespace : "capd-system" ,
228+ }},
230229 }, e2eConfig .GetIntervals (bootstrapClusterProxy .GetName (), "wait-controllers" )... )
231230
232- framework .WaitForCAPIProviderRollout (ctx , framework.WaitForCAPIProviderRolloutInput {
233- Getter : bootstrapClusterProxy .GetClient (),
234- Name : "aws" ,
235- Namespace : "cattle-capi-system" ,
231+ capiframework .WaitForDeploymentsAvailable (ctx , capiframework.WaitForDeploymentsAvailableInput {
232+ Getter : bootstrapClusterProxy .GetClient (),
233+ Deployment : & appsv1.Deployment {ObjectMeta : metav1.ObjectMeta {
234+ Name : "capa-controller-manager" ,
235+ Namespace : "capa-system" ,
236+ }},
236237 }, e2eConfig .GetIntervals (bootstrapClusterProxy .GetName (), "wait-controllers" )... )
237238
238- framework .WaitForCAPIProviderRollout (ctx , framework.WaitForCAPIProviderRolloutInput {
239- Getter : bootstrapClusterProxy .GetClient (),
240- Name : "gcp" ,
241- Namespace : "cattle-capi-system" ,
239+ capiframework .WaitForDeploymentsAvailable (ctx , capiframework.WaitForDeploymentsAvailableInput {
240+ Getter : bootstrapClusterProxy .GetClient (),
241+ Deployment : & appsv1.Deployment {ObjectMeta : metav1.ObjectMeta {
242+ Name : "capg-controller-manager" ,
243+ Namespace : "capg-system" ,
244+ }},
242245 }, e2eConfig .GetIntervals (bootstrapClusterProxy .GetName (), "wait-controllers" )... )
243246
244247 By ("Verifying workload cluster survived the upgrade (zero-downtime validated)" )
0 commit comments