litmuschaos/litmusctl

Support for KUBECONFIG env var

h4wkmoon opened this issue · 3 comments

Hi,

It seems like litmusctl does not use the env var KUBECONFIG. But only the $HOME/.kube/config
Am I wrong ?

ok that's said in the README.
Still, it's an issue.

you can pass the -k or --kubeconfig flag along with the command.

Flags- https://github.com/litmuschaos/litmusctl/blob/master/Usage.md#flags-for-create-agent-command

Oh, sorry. It didn't read the doc completely. My bad.