Skip to content

Commit 72477db

Browse files
Prepare main branch for v0.22 development
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
1 parent 56576c2 commit 72477db

5 files changed

Lines changed: 19 additions & 11 deletions

File tree

docs/book/src/01_user/01_getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ In order to use this provider, you need to have a management cluster available t
5353
No additional steps are required and you can install the RKE2 provider with **clusterctl** directly:
5454
5555
```bash
56-
clusterctl init --core cluster-api:v1.10.5 --bootstrap rke2:v0.20.0 --control-plane rke2:v0.20.0 --infrastructure docker:v1.10.5
56+
clusterctl init --core cluster-api:v1.10.5 --bootstrap rke2:v0.21.0 --control-plane rke2:v0.21.0 --infrastructure docker:v1.10.5
5757
```
5858
5959
Next, you can proceed to [creating a workload cluster](#create-a-workload-cluster).

metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,6 @@ releaseSeries:
6969
- major: 0
7070
minor: 21
7171
contract: v1beta1
72+
- major: 0
73+
minor: 22
74+
contract: v1beta1

test/e2e/config/e2e_conf.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,13 @@ providers:
4949
- name: rke2-control-plane
5050
type: ControlPlaneProvider
5151
versions:
52+
<<<<<<< HEAD
5253
- name: "v0.20.0"
5354
value: "https://github.com/rancher/cluster-api-provider-rke2/releases/download/v0.20.0/control-plane-components.yaml"
55+
=======
56+
- name: "v0.21.0"
57+
value: "https://github.com/rancher/cluster-api-provider-rke2/releases/download/v0.21.0/control-plane-components.yaml"
58+
>>>>>>> a25a12d (Prepare main branch for v0.22 development)
5459
type: "url"
5560
contract: v1beta1
5661
files:
@@ -61,7 +66,7 @@ providers:
6166
new: "imagePullPolicy: IfNotPresent"
6267
- old: "--leader-elect"
6368
new: "--leader-elect=false"
64-
- name: v0.21.99 # next; use manifest from source files
69+
- name: v0.22.99 # next; use manifest from source files
6570
value: "../../../controlplane/config/default"
6671
contract: v1beta1
6772
files:
@@ -75,8 +80,8 @@ providers:
7580
- name: rke2-bootstrap
7681
type: BootstrapProvider
7782
versions:
78-
- name: "v0.20.0"
79-
value: "https://github.com/rancher/cluster-api-provider-rke2/releases/download/v0.20.0/bootstrap-components.yaml"
83+
- name: "v0.21.0"
84+
value: "https://github.com/rancher/cluster-api-provider-rke2/releases/download/v0.21.0/bootstrap-components.yaml"
8085
type: "url"
8186
contract: v1beta1
8287
files:
@@ -87,7 +92,7 @@ providers:
8792
new: "imagePullPolicy: IfNotPresent"
8893
- old: "--leader-elect"
8994
new: "--leader-elect=false"
90-
- name: v0.21.99 # next; use manifest from source files
95+
- name: v0.22.99 # next; use manifest from source files
9196
value: ../../../bootstrap/config/default
9297
contract: v1beta1
9398
files:

test/e2e/e2e_suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ func initUpgradableBootstrapCluster(bootstrapClusterProxy framework.ClusterProxy
274274
InfrastructureProviders: config.InfrastructureProviders(),
275275
IPAMProviders: config.IPAMProviders(),
276276
RuntimeExtensionProviders: config.RuntimeExtensionProviders(),
277-
BootstrapProviders: []string{"rke2-bootstrap:v0.20.0"},
278-
ControlPlaneProviders: []string{"rke2-control-plane:v0.20.0"},
277+
BootstrapProviders: []string{"rke2-bootstrap:v0.21.0"},
278+
ControlPlaneProviders: []string{"rke2-control-plane:v0.21.0"},
279279
LogFolder: filepath.Join(artifactFolder, "clusters", bootstrapClusterProxy.GetName()),
280280
DisableMetricsCollection: true,
281281
}, config.GetIntervals(bootstrapClusterProxy.GetName(), "wait-controllers")...)

test/e2e/e2e_upgrade_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ var _ = Describe("Provider upgrade", func() {
8787
})
8888

8989
Context("Creating a single control-plane cluster", func() {
90-
It("Should create a cluster with v0.20.0 and perform upgrade to latest version", func() {
91-
By("Installing v0.20.0 boostrap/controlplane provider version")
90+
It("Should create a cluster with v0.21.0 and perform upgrade to latest version", func() {
91+
By("Installing v0.21.0 boostrap/controlplane provider version")
9292
initUpgradableBootstrapCluster(bootstrapClusterProxy, e2eConfig, clusterctlConfigPath, artifactFolder)
9393

9494
By("Initializing the cluster")
@@ -135,8 +135,8 @@ var _ = Describe("Provider upgrade", func() {
135135
UpgradeManagementCluster(ctx, clusterctl.UpgradeManagementClusterAndWaitInput{
136136
ClusterProxy: bootstrapClusterProxy,
137137
ClusterctlConfigPath: clusterctlConfigPath,
138-
BootstrapProviders: []string{"rke2-bootstrap:v0.21.99"},
139-
ControlPlaneProviders: []string{"rke2-control-plane:v0.21.99"},
138+
BootstrapProviders: []string{"rke2-bootstrap:v0.22.99"},
139+
ControlPlaneProviders: []string{"rke2-control-plane:v0.22.99"},
140140
LogFolder: clusterctlLogFolder,
141141
})
142142

0 commit comments

Comments
 (0)