Merge pull request #19 from yuvipanda/kubeconfig
Respect the KUBECONFIG environment variable if set
This commit is contained in:
commit
7f9231e9d0
@ -25,7 +25,7 @@ from kubernetes.client import ApiClient, ConfigurationObject, configuration
|
||||
|
||||
from .config_exception import ConfigException
|
||||
|
||||
KUBE_CONFIG_DEFAULT_LOCATION = '~/.kube/config'
|
||||
KUBE_CONFIG_DEFAULT_LOCATION = os.environ.get('KUBECONFIG', '~/.kube/config')
|
||||
_temp_files = {}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user