guard
guard copied to clipboard
panic if there is no .kube directory in user's home
https://github.com/appscode/guard/issues/178
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.