Skip to content
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.

Commit

Permalink
Respect the KUBECONFIG environment variable if set
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Jul 14, 2017
1 parent d301e20 commit ee4f01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/kube_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

from .config_exception import ConfigException

KUBE_CONFIG_DEFAULT_LOCATION = '~/.kube/config'
KUBE_CONFIG_DEFAULT_LOCATION = os.environ.get('KUBECONFIG', '~/.kube/config')
_temp_files = {}


Expand Down

0 comments on commit ee4f01c

Please # to comment.