vmware-archive / ktx

manage kubernetes cluster configs
Apache License 2.0
135 stars 24 forks source link

Convert ktx to a bash function to eval automatically #13

Closed xstevens closed 5 years ago

xstevens commented 5 years ago

This changes ktx to run as a bash function so that you can eval the KUBECONFIG environment variable automatically. Additionally, if you run the function with no args it will list all of the configs in your $HOME/.kube directory.

chuckha commented 5 years ago

omg this is what i originally wanted. i could not figure this out for the life of me 😂 looks hella good to me!