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 5a96bbc commit b648cb9Copy full SHA for b648cb9
kubernetes/base/config/__init__.py
@@ -34,6 +34,7 @@ def load_config(**kwargs):
34
load_incluster_config functions.
35
"""
36
if "kube_config_path" in kwargs.keys() or exists(expanduser(KUBE_CONFIG_DEFAULT_LOCATION)):
37
+ kwargs["config_file"] = kwargs.pop("kube_config_path", None)
38
load_kube_config(**kwargs)
39
else:
40
print(
0 commit comments