Skip to content

Commit

Permalink
docs: add note for clusterctl rename bug
Browse files Browse the repository at this point in the history
This PR adds a blurb for overriding the clusterctl yaml to work after
our rename

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
  • Loading branch information
rsmitty committed Mar 23, 2022
1 parent 7a4bc89 commit e3a1f5a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,29 @@ CABPT provider should be installed alongside with [CACPPT](https://github.com/ta
clusterctl init --bootstrap talos --control-plane talos --infrastructure <infrastructure provider>
```

If you encounter the following error, this is caused by a rename of our GitHub org from `talos-systems` to `siderolabs`.

```bash
$ clusterctl init -b talos -c talos -i sidero
Fetching providers
Error: failed to get provider components for the "talos" provider: target namespace can't be defaulted. Please specify a target namespace
```
This can be worked around by adding the following to `~/.cluster-api/clusterctl.yaml` and rerunning the init command:
```yaml
providers:
- name: "talos"
url: "https://github.com/siderolabs/cluster-api-bootstrap-provider-talos/releases/latest/bootstrap-components.yaml"
type: "BootstrapProvider"
- name: "talos"
url: "https://github.com/siderolabs/cluster-api-control-plane-provider-talos/releases/latest/control-plane-components.yaml"
type: "ControlPlaneProvider"
- name: "sidero"
url: "https://github.com/siderolabs/sidero/releases/latest/infrastructure-components.yaml"
type: "InfrastructureProvider"
```
## Compatibility
This provider's versions are compatible with the following versions of Cluster API:
Expand Down

0 comments on commit e3a1f5a

Please sign in to comment.