From d44d645a51a007aea2a7af338dd7f3cf710a77e4 Mon Sep 17 00:00:00 2001 From: Carlos Salas Date: Mon, 22 Jul 2024 11:46:34 +0200 Subject: [PATCH] docs: fix providers.yaml example in readme Signed-off-by: Carlos Salas --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f1cfeb26..28080ec1 100644 --- a/README.md +++ b/README.md @@ -66,15 +66,15 @@ clusterctl init --bootstrap rke2 --control-plane rke2 --infrastructure docker #### CAPI < v1.6.0 -With CAPI & clusterctl versions less than v1.6.0 you need a specific configuration. To do this create a file called `clusterctl.yaml` in the `$HOME/.cluster-api` folder with the following content: +With CAPI & clusterctl versions less than v1.6.0 you need a specific configuration. To do this create a file called `clusterctl.yaml` in the `$HOME/.cluster-api` folder with the following content (substitute `${VERSION}` with a valid semver specification - e.g. v0.5.0 - from [releases](https://github.com/rancher/cluster-api-provider-rke2/releases)): ```yaml providers: - name: "rke2" - url: "https://github.com/rancher/cluster-api-provider-rke2/releases/v0.1.1/bootstrap-components.yaml" + url: "https://github.com/rancher/cluster-api-provider-rke2/releases/${VERSION}/bootstrap-components.yaml" type: "BootstrapProvider" - name: "rke2" - url: "https://github.com/rancher/cluster-api-provider-rke2/releases/v0.1.1/control-plane-components.yaml" + url: "https://github.com/rancher/cluster-api-provider-rke2/releases/${VERSION}/control-plane-components.yaml" type: "ControlPlaneProvider" ``` > NOTE: Due to some issue related to how `CAPD` creates Load Balancer healthchecks, it is necessary to use a fork of `CAPD` by providing in the above configuration file the following :