Skip to content

Commit 7851b23

Browse files
rsmittysmira
authored andcommitted
docs: add note for clusterctl rename bug
This PR adds a blurb for overriding the clusterctl yaml to work after our rename Signed-off-by: Spencer Smith <[email protected]> (cherry picked from commit e3a1f5a)
1 parent 9fda598 commit 7851b23

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,29 @@ CABPT provider should be installed alongside with [CACPPT](https://github.com/ta
2020
clusterctl init --bootstrap talos --control-plane talos --infrastructure <infrastructure provider>
2121
```
2222

23+
If you encounter the following error, this is caused by a rename of our GitHub org from `talos-systems` to `siderolabs`.
24+
25+
```bash
26+
$ clusterctl init -b talos -c talos -i sidero
27+
Fetching providers
28+
Error: failed to get provider components for the "talos" provider: target namespace can't be defaulted. Please specify a target namespace
29+
```
30+
31+
This can be worked around by adding the following to `~/.cluster-api/clusterctl.yaml` and rerunning the init command:
32+
33+
```yaml
34+
providers:
35+
- name: "talos"
36+
url: "https://github.com/siderolabs/cluster-api-bootstrap-provider-talos/releases/latest/bootstrap-components.yaml"
37+
type: "BootstrapProvider"
38+
- name: "talos"
39+
url: "https://github.com/siderolabs/cluster-api-control-plane-provider-talos/releases/latest/control-plane-components.yaml"
40+
type: "ControlPlaneProvider"
41+
- name: "sidero"
42+
url: "https://github.com/siderolabs/sidero/releases/latest/infrastructure-components.yaml"
43+
type: "InfrastructureProvider"
44+
```
45+
2346
## Compatibility
2447
2548
This provider's versions are compatible with the following versions of Cluster API:

0 commit comments

Comments
 (0)