We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d301e20 commit ee4f01cCopy full SHA for ee4f01c
1 file changed
config/kube_config.py
@@ -25,7 +25,7 @@
25
26
from .config_exception import ConfigException
27
28
-KUBE_CONFIG_DEFAULT_LOCATION = '~/.kube/config'
+KUBE_CONFIG_DEFAULT_LOCATION = os.environ.get('KUBECONFIG', '~/.kube/config')
29
_temp_files = {}
30
31
0 commit comments