Repository navigation
Error parsing KUBECONFIG url #599
Description
Activity
This feature has to be added to python-base repo, ref issue: kubernetes-client/python-base#62
Check out #96
Issues go stale after 90d of inactivity.
Mark the issue as fresh with/remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.If this issue is safe to close now please do so with
/close.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale- addedlifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.
on Apr 26, 2019 Stale issues rot after 30d of inactivity.
Mark the issue as fresh with/remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.If this issue is safe to close now please do so with
/close.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten- addedlifecycle/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.and removedlifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.
on May 26, 2019 /remove-lifecycle rotten
- removedlifecycle/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.
on May 27, 2019 this is fixed by kubernetes-client/python-base#94
/close@yliaog: Closing this issue.
Details
In response to this:
this is fixed by kubernetes-client/python-base#94
/closeInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
I have
KUBECONFIGpath like that:The way config file name parsed is not correct for such cases:
config_file = os.path.expanduser(KUBE_CONFIG_DEFAULT_LOCATION)and it causes an error:
Maybe user should get a warning instead?
or use the default path like so:
config_file = os.path.expanduser(KUBE_CONFIG_DEFAULT_LOCATION.split(':')[0])