Prepare main branch for v0.6 development

Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
This commit is contained in:
Furkat Gofurov 2024-08-27 13:46:30 +03:00
parent 2acd8e4891
commit 731a14d0e5
No known key found for this signature in database
4 changed files with 11 additions and 12 deletions

View File

@ -21,3 +21,6 @@ releaseSeries:
- major: 0
minor: 5
contract: v1beta1
- major: 0
minor: 6
contract: v1beta1

View File

@ -1,10 +1,6 @@
managementClusterName: caprke2-e2e
images:
- name: ghcr.io/rancher/cluster-api-provider-rke2-bootstrap:v0.5.0
loadBehavior: tryLoad
- name: ghcr.io/rancher/cluster-api-provider-rke2-controlplane:v0.5.0
loadBehavior: tryLoad
- name: ghcr.io/rancher/cluster-api-provider-rke2-bootstrap:dev
loadBehavior: mustLoad
- name: ghcr.io/rancher/cluster-api-provider-rke2-controlplane:dev
@ -75,7 +71,7 @@ providers:
new: "imagePullPolicy: IfNotPresent"
- old: "--leader-elect"
new: "--leader-elect=false"
- name: v0.5.99
- name: v0.6.99
value: "../../../controlplane/config/default"
contract: v1beta1
files:
@ -113,7 +109,7 @@ providers:
new: "imagePullPolicy: IfNotPresent"
- old: "--leader-elect"
new: "--leader-elect=false"
- name: v0.5.99
- name: v0.6.99
value: ../../../bootstrap/config/default
contract: v1beta1
files:

View File

@ -257,8 +257,8 @@ func initUpgradableBootstrapCluster(bootstrapClusterProxy framework.ClusterProxy
InfrastructureProviders: config.InfrastructureProviders(),
IPAMProviders: config.IPAMProviders(),
RuntimeExtensionProviders: config.RuntimeExtensionProviders(),
BootstrapProviders: []string{"rke2-bootstrap:v0.4.0"},
ControlPlaneProviders: []string{"rke2-control-plane:v0.4.0"},
BootstrapProviders: []string{"rke2-bootstrap:v0.5.0"},
ControlPlaneProviders: []string{"rke2-control-plane:v0.5.0"},
LogFolder: filepath.Join(artifactFolder, "clusters", bootstrapClusterProxy.GetName()),
}, config.GetIntervals(bootstrapClusterProxy.GetName(), "wait-controllers")...)
}

View File

@ -85,8 +85,8 @@ var _ = Describe("Workload cluster creation", func() {
})
Context("Creating a single control-plane cluster", func() {
It("Should create a cluster with v0.4.0 and perform upgrade to latest version", func() {
By("Installing v0.4.0 boostrap/controlplane provider version")
It("Should create a cluster with v0.5.0 and perform upgrade to latest version", func() {
By("Installing v0.5.0 boostrap/controlplane provider version")
initUpgradableBootstrapCluster(bootstrapClusterProxy, e2eConfig, clusterctlConfigPath, artifactFolder)
By("Initializing the cluster")
@ -118,8 +118,8 @@ var _ = Describe("Workload cluster creation", func() {
clusterctl.UpgradeManagementClusterAndWait(ctx, clusterctl.UpgradeManagementClusterAndWaitInput{
ClusterProxy: bootstrapClusterProxy,
ClusterctlConfigPath: clusterctlConfigPath,
BootstrapProviders: []string{"rke2-bootstrap:v0.5.99"},
ControlPlaneProviders: []string{"rke2-control-plane:v0.5.99"},
BootstrapProviders: []string{"rke2-bootstrap:v0.6.99"},
ControlPlaneProviders: []string{"rke2-control-plane:v0.6.99"},
LogFolder: clusterctlLogFolder,
}, e2eConfig.GetIntervals(specName, "wait-controllers")...)