Overrides not working in .cluster-api/ only in .config/cluster-api #10179
Labels
area/clusterctl
Issues or PRs related to clusterctl
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What steps did you take and what happened?
This should use overrides from
~/.cluster-api/overrides
yet this wasn't found. Upon stepping through a debugger i noticed that the path at https://github.com/kubernetes-sigs/cluster-api/blob/main/cmd/clusterctl/client/repository/overrides.go#L110 was set to the$XDG_CONFIG_HOME/cluster-api
location - perhaps from this change: #6913 ?Once i moved my overrides to
~/.config/cluster-api/overrides
this was then picked up:What did you expect to happen?
According to the docs, overrides can be picked up from both
~/.cluster-api/overrides
or~/.config/cluster-api/overrides
Cluster API version
1.6.1
Kubernetes version
No response
Anything else you would like to add?
No response
Label(s) to be applied
/kind bug
/area clusterctl
/area provider/vmware
The text was updated successfully, but these errors were encountered: