load_config
does not really support "context"
#2203
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
similar to #2038
What happened (please include outputs or screenshots):
passing
context
as an argument toload_config
-- even if that argument isNone
does not work becauseload_incluster_config
does not list it as an argumentWhat you expected to happen:
A
context
argument should be able to be passed intoload_incluster_config
and if it's value is non-None, then perhaps aConfigException
should be raisedHow to reproduce it (as minimally and precisely as possible):
context=None
, since there is no.kube/config
it will try to load the incluster config and failAnything else we need to know?:
Environment:
kubectl version
): N/Apython --version
): py3.8.10 (but doesn't matter)pip list | grep kubernetes
):The text was updated successfully, but these errors were encountered: