@@ -75,3 +75,26 @@ var _ = Describe("When testing clusterctl upgrades (v0.8=>current) [clusterctl-u
75
75
}
76
76
})
77
77
})
78
+
79
+ var _ = Describe ("When testing clusterctl upgrades (v0.9=>current) [clusterctl-upgrade]" , func () {
80
+ ctx := context .TODO ()
81
+ shared .SetEnvVar ("DOWNLOAD_E2E_IMAGE" , "true" , false )
82
+
83
+ capi_e2e .ClusterctlUpgradeSpec (ctx , func () capi_e2e.ClusterctlUpgradeSpecInput {
84
+ return capi_e2e.ClusterctlUpgradeSpecInput {
85
+ E2EConfig : e2eCtx .E2EConfig ,
86
+ ClusterctlConfigPath : e2eCtx .Environment .ClusterctlConfigPath ,
87
+ BootstrapClusterProxy : e2eCtx .Environment .BootstrapClusterProxy ,
88
+ ArtifactFolder : e2eCtx .Settings .ArtifactFolder ,
89
+ SkipCleanup : false ,
90
+ InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/" + OldCAPIVersion + "/clusterctl-{OS}-{ARCH}" ,
91
+ InitWithProvidersContract : "v1beta1" ,
92
+ InitWithInfrastructureProviders : []string {"openstack:v0.9.0" },
93
+ InitWithCoreProvider : "cluster-api:" + OldCAPIVersion ,
94
+ InitWithBootstrapProviders : []string {"kubeadm:" + OldCAPIVersion },
95
+ InitWithControlPlaneProviders : []string {"kubeadm:" + OldCAPIVersion },
96
+ MgmtFlavor : shared .FlavorDefault ,
97
+ WorkloadFlavor : shared .FlavorV1alpha7 ,
98
+ }
99
+ })
100
+ })
0 commit comments