@@ -98,3 +98,26 @@ var _ = Describe("When testing clusterctl upgrades (v0.8=>current) [clusterctl-u
98
98
}
99
99
})
100
100
})
101
+
102
+ var _ = Describe ("When testing clusterctl upgrades (v0.9=>current) [clusterctl-upgrade]" , func () {
103
+ ctx := context .TODO ()
104
+ shared .SetEnvVar ("DOWNLOAD_E2E_IMAGE" , "true" , false )
105
+
106
+ capi_e2e .ClusterctlUpgradeSpec (ctx , func () capi_e2e.ClusterctlUpgradeSpecInput {
107
+ return capi_e2e.ClusterctlUpgradeSpecInput {
108
+ E2EConfig : e2eCtx .E2EConfig ,
109
+ ClusterctlConfigPath : e2eCtx .Environment .ClusterctlConfigPath ,
110
+ BootstrapClusterProxy : e2eCtx .Environment .BootstrapClusterProxy ,
111
+ ArtifactFolder : e2eCtx .Settings .ArtifactFolder ,
112
+ SkipCleanup : false ,
113
+ InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/" + OldCAPIVersion + "/clusterctl-{OS}-{ARCH}" ,
114
+ InitWithProvidersContract : "v1beta1" ,
115
+ InitWithInfrastructureProviders : []string {"openstack:v0.9.0" },
116
+ InitWithCoreProvider : "cluster-api:" + OldCAPIVersion ,
117
+ InitWithBootstrapProviders : []string {"kubeadm:" + OldCAPIVersion },
118
+ InitWithControlPlaneProviders : []string {"kubeadm:" + OldCAPIVersion },
119
+ MgmtFlavor : shared .FlavorDefault ,
120
+ WorkloadFlavor : shared .FlavorV1alpha7 ,
121
+ }
122
+ })
123
+ })
0 commit comments