We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10db259 commit 2c9ddf9Copy full SHA for 2c9ddf9
config/kube_config.py
@@ -19,7 +19,6 @@
19
import json
20
import logging
21
import os
22
-import pathlib
23
import platform
24
import subprocess
25
import tempfile
@@ -46,7 +45,7 @@
46
45
pass
47
48
EXPIRY_SKEW_PREVENTION_DELAY = datetime.timedelta(minutes=5)
49
-KUBE_CONFIG_DEFAULT_LOCATION = os.environ.get('KUBECONFIG', f'{pathlib.Path.home()}/.kube/config')
+KUBE_CONFIG_DEFAULT_LOCATION = os.environ.get('KUBECONFIG', '~/.kube/config')
50
ENV_KUBECONFIG_PATH_SEPARATOR = ';' if platform.system() == 'Windows' else ':'
51
_temp_files = {}
52
0 commit comments