pluto icon indicating copy to clipboard operation
pluto copied to clipboard

Add a "--kubeconfig" global flag

Open kastl-ars opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. I often work with multiple clusters. In my case, each has a separate kubeconfig file. Often this is because clusters are spun up for testing using e.g. vagrant+Ansible.

Having to export KUBECONFIG=... each time I need to target a different cluster is error prone and tedious.

Describe the solution you'd like Other tools, including kubectl and helm, allow using a --kubeconfig global flag, that uses the file given as argument to this flag as the kubeconfig for the command.

Describe alternatives you've considered

  • exporting KUBECONFIG=...
  • using things like kubie etc.

kastl-ars avatar May 31 '24 08:05 kastl-ars

This should be fairly straightforward to add if someone wants to pick this up.

sudermanjr avatar Jun 04 '24 15:06 sudermanjr

Uuuuh nice, thanks!

kastl-ars avatar Jul 23 '24 05:07 kastl-ars

Sure thing 😄 !

bbensky avatar Jul 24 '24 14:07 bbensky