We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c97d268 commit 583422fCopy full SHA for 583422f
api/api_client.py
@@ -81,7 +81,7 @@ def api_init(kube_config_file=None, host=None, token_filename=None, cert_filenam
81
82
config.load_kube_config(kube_config_bak_path, context=context, client_configuration=configuration)
83
else:
84
- config.load_kube_config(context=context)
+ config.load_kube_config(config_file=kubeconfig_path, context=context)
85
86
api_client = ApiClient(configuration=configuration)
87
CoreV1Api = client.CoreV1Api(api_client=api_client)
0 commit comments