k9s icon indicating copy to clipboard operation
k9s copied to clipboard

Remove current state from config.yml

Open NemesisRE opened this issue 2 years ago • 2 comments




Is your feature request related to a problem? Please describe. If dotfiles are managed via git everytime k9s is opened the config.yml changes. If it only contain the defaults for the client it would only change if you want new defaults.

Describe the solution you'd like Move the current state out of config.yml maybe into state.yml

NemesisRE avatar Jul 13 '21 23:07 NemesisRE

I concur. This violates the XDG specification. State should live in $XDG_DATA_HOME/k9s/state.yml. I share my dot files (via git) between my personal machine and my work machine and I don't want cross-contamination, but I do want to share the basic configuration.

hermitmaster avatar Apr 12 '22 02:04 hermitmaster

Would just like to add my support to this. $XDG_STATE_HOME would make sense according to the specification https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html.

rust84 avatar Aug 11 '22 10:08 rust84

fixed in Release v0.30.0

NemesisRE avatar Jan 02 '24 14:01 NemesisRE