diff --git a/docs/src/capi/tutorial/getting-started.md b/docs/src/capi/tutorial/getting-started.md index 892f9a0e2..08302fb53 100644 --- a/docs/src/capi/tutorial/getting-started.md +++ b/docs/src/capi/tutorial/getting-started.md @@ -18,13 +18,20 @@ sudo install -o root -g root -m 0755 clusterctl /usr/local/bin/clusterctl ### Configure clusterctl -`clusterctl` contains a list of default providers. Right now, {{product}} is -not part of that list. To make `clusterctl` aware of the new -providers, we need to add a clusterctl configuration file. - -``` -mkdir -p ~/.config/cluster-api -curl -L https://raw.githubusercontent.com/canonical/cluster-api-k8s/main/clusterctl.yaml -o ~/.config/cluster-api/clusterctl.yaml +`clusterctl` contains a list of default providers. Right now, {{product}} is +not yet part of that list. To make `clusterctl` aware of the new +providers we need to add them to the configuration +file. Edit `~/.cluster-api/clusterctl.yaml` and add the following: + +``` +providers: + - name: ck8s + type: BootstrapProvider + url: "https://github.com/canonical/cluster-api-k8s/releases/latest/bootstrap-components.yaml" + - name: ck8s + type: ControlPlaneProvider + url: "https://github.com/canonical/cluster-api-k8s/releases/latest/control-plane-components.yaml" + type: "ControlPlaneProvider" ``` ### Set up a management cluster