-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed as not planned
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
If you try to call kubernetes.config.load_config
with an argument kube_config_path
-- which apparently should be possible, according to the first line of the method:
def load_config(**kwargs):
...
if "kube_config_path" in kwargs.keys()...
load_kube_config(**kwargs)
then the call would fail, because the method load_kube_config
(on the next line) does not accept an argument kube_config_path
.
def load_kube_config(config_file=None, context=None,
client_configuration=None,
persist_config=True,
temp_file_path=None):
See:
https://github.com/kubernetes-client/python/blob/master/kubernetes/base/config/__init__.py#L36
https://github.com/kubernetes-client/python/blob/master/kubernetes/base/config/kube_config.py#L793
tomplus
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.