guard icon indicating copy to clipboard operation
guard copied to clipboard

panic if there is no .kube directory in user's home

Open tamalsaha opened this issue 5 years ago • 1 comments

https://github.com/appscode/guard/issues/178

tamalsaha avatar Jun 26 '19 19:06 tamalsaha

We might want to have a two-way condition for the panic

  • the KUBECONFIG env variable defined(and it pointing to a valid $KUBECONFIG directory)
  • and if the above one isn't defined(is empty), the $HOME/.kube should be taken into consideration.

I guess kubectl behaves the same way, I'd like to work on this issue if it's not already fixed.

vharsh avatar Dec 12 '19 05:12 vharsh