k9s icon indicating copy to clipboard operation
k9s copied to clipboard

Support for loading in a directories of plugins, aliases, hotkeys

Open arunderwood opened this issue 2 years ago • 1 comments




Is your feature request related to a problem? Please describe. Today if you want to extend your config you must edit singular files such as aliases.yaml, hotkeys.yaml, plugins.yaml, etc. When sharing config with others this requires you to move snippets of config in and out of the same file.

Describe the solution you'd like Support loading multiple yaml files from directories. For example the following files could all be placed in the plugins/ directory

  • $XDG_CONFIG_HOME/k9s/plugins/flux.yaml
  • $XDG_CONFIG_HOME/k9s/plugins/log-jq.yaml
  • $XDG_CONFIG_HOME/k9s/plugins/blame.yaml

k9s would then append these configs together and load them in. This would make it simpler to manage your configs with off-the-shelf dotfile management utilities.

arunderwood avatar Jan 10 '24 07:01 arunderwood

@arunderwood Good point! I agree. Thank you for voicing this. This is readily available for plugins. (https://github.com/derailed/k9s/pull/2029) Will need to address aliases/hotkeys next...

derailed avatar Jan 10 '24 16:01 derailed