Closed ultimateboy closed 6 years ago
clientcmd.NewDefaultClientConfigLoadingRules() already checks for the KUBECONFIG env-var and also checks for ~/.kube/config. Setting an explicit path overrides this.
clientcmd.NewDefaultClientConfigLoadingRules()
KUBECONFIG
~/.kube/config
Fixes #16 Fixes #10
👍
Thanks.
clientcmd.NewDefaultClientConfigLoadingRules()
already checks for theKUBECONFIG
env-var and also checks for~/.kube/config
. Setting an explicit path overrides this.Fixes #16 Fixes #10