Skip to content

Commit dca0ca6

Browse files
committed
Fix load_config: expand ~
1 parent 0d4f822 commit dca0ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/kube_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
pass
4646

4747
EXPIRY_SKEW_PREVENTION_DELAY = datetime.timedelta(minutes=5)
48-
KUBE_CONFIG_DEFAULT_LOCATION = os.environ.get('KUBECONFIG', '~/.kube/config')
48+
KUBE_CONFIG_DEFAULT_LOCATION = os.path.expanduser(os.environ.get('KUBECONFIG', '~/.kube/config'))
4949
ENV_KUBECONFIG_PATH_SEPARATOR = ';' if platform.system() == 'Windows' else ':'
5050
_temp_files = {}
5151

0 commit comments

Comments
 (0)