Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/book/src/01_user/01_getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ In order to use this provider, you need to have a management cluster available t
No additional steps are required and you can install the RKE2 provider with **clusterctl** directly:

```bash
clusterctl init --core cluster-api:v1.10.5 --bootstrap rke2:v0.19.0 --control-plane rke2:v0.19.0 --infrastructure docker:v1.10.5
clusterctl init --core cluster-api:v1.10.5 --bootstrap rke2:v0.20.0 --control-plane rke2:v0.20.0 --infrastructure docker:v1.10.5
```

Next, you can proceed to [creating a workload cluster](#create-a-workload-cluster).
Expand Down
3 changes: 3 additions & 0 deletions metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ releaseSeries:
- major: 0
minor: 20
contract: v1beta1
- major: 0
minor: 21
contract: v1beta1
12 changes: 6 additions & 6 deletions test/e2e/config/e2e_conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ providers:
- name: rke2-control-plane
type: ControlPlaneProvider
versions:
- name: "v0.19.0"
value: "https://github.com/rancher/cluster-api-provider-rke2/releases/download/v0.19.0/control-plane-components.yaml"
- name: "v0.20.0"
value: "https://github.com/rancher/cluster-api-provider-rke2/releases/download/v0.20.0/control-plane-components.yaml"
type: "url"
contract: v1beta1
files:
Expand All @@ -61,7 +61,7 @@ providers:
new: "imagePullPolicy: IfNotPresent"
- old: "--leader-elect"
new: "--leader-elect=false"
- name: v0.20.99 # next; use manifest from source files
- name: v0.21.99 # next; use manifest from source files
value: "../../../controlplane/config/default"
contract: v1beta1
files:
Expand All @@ -75,8 +75,8 @@ providers:
- name: rke2-bootstrap
type: BootstrapProvider
versions:
- name: "v0.19.0"
value: "https://github.com/rancher/cluster-api-provider-rke2/releases/download/v0.19.0/bootstrap-components.yaml"
- name: "v0.20.0"
value: "https://github.com/rancher/cluster-api-provider-rke2/releases/download/v0.20.0/bootstrap-components.yaml"
type: "url"
contract: v1beta1
files:
Expand All @@ -87,7 +87,7 @@ providers:
new: "imagePullPolicy: IfNotPresent"
- old: "--leader-elect"
new: "--leader-elect=false"
- name: v0.20.99 # next; use manifest from source files
- name: v0.21.99 # next; use manifest from source files
value: ../../../bootstrap/config/default
contract: v1beta1
files:
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ func initUpgradableBootstrapCluster(bootstrapClusterProxy framework.ClusterProxy
InfrastructureProviders: config.InfrastructureProviders(),
IPAMProviders: config.IPAMProviders(),
RuntimeExtensionProviders: config.RuntimeExtensionProviders(),
BootstrapProviders: []string{"rke2-bootstrap:v0.19.0"},
ControlPlaneProviders: []string{"rke2-control-plane:v0.19.0"},
BootstrapProviders: []string{"rke2-bootstrap:v0.20.0"},
ControlPlaneProviders: []string{"rke2-control-plane:v0.20.0"},
LogFolder: filepath.Join(artifactFolder, "clusters", bootstrapClusterProxy.GetName()),
DisableMetricsCollection: true,
}, config.GetIntervals(bootstrapClusterProxy.GetName(), "wait-controllers")...)
Expand Down
8 changes: 4 additions & 4 deletions test/e2e/e2e_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ var _ = Describe("Provider upgrade", func() {
})

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

By("Initializing the cluster")
Expand Down Expand Up @@ -135,8 +135,8 @@ var _ = Describe("Provider upgrade", func() {
UpgradeManagementCluster(ctx, clusterctl.UpgradeManagementClusterAndWaitInput{
ClusterProxy: bootstrapClusterProxy,
ClusterctlConfigPath: clusterctlConfigPath,
BootstrapProviders: []string{"rke2-bootstrap:v0.20.99"},
ControlPlaneProviders: []string{"rke2-control-plane:v0.20.99"},
BootstrapProviders: []string{"rke2-bootstrap:v0.21.99"},
ControlPlaneProviders: []string{"rke2-control-plane:v0.21.99"},
LogFolder: clusterctlLogFolder,
})

Expand Down