Follow XDG Base Directory specification for clusterctl configuration file(s) #8832
Closed
pavel-github
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Generally issues are a better venue for bringing up ideas like this. There is already a PR open for this: #6913. The issue thus far has been reviewer bandwidth more than anything. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Instead of polluting user $HOME directory, it would be better UX to follow XDG Base Directory specification and keep configuration files under
$HOME/.config/cluster-api/*
.Since clusterctl uses Viper to load configuration (https://github.com/kubernetes-sigs/cluster-api/blob/main/cmd/clusterctl/client/config/reader_viper.go#L63), we can add an additional configuration directory to not break an existing behavior.
Technical details:
Let me know if the idea is worth, so I could provide a PR.
Beta Was this translation helpful? Give feedback.
All reactions