You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
current kubernetes-client/python(-base) support parameter for proxy but NOT no_proxy.
as the result, operator needs to set/unset proxy according to the target clusters.
it is somewhat bothering task because kubectl supports both proxy and no_proxy environment variables.
Describe the solution you'd like to see:
add 'no_proxy' parameter in kubernetes/client/configuration.py and support no_proxy just like kubectl.
sample value of no_proxy is below:
What is the feature and why do you need it:
current kubernetes-client/python(-base) support parameter for proxy but NOT no_proxy.
as the result, operator needs to set/unset proxy according to the target clusters.
it is somewhat bothering task because kubectl supports both proxy and no_proxy environment variables.
Describe the solution you'd like to see:
add 'no_proxy' parameter in kubernetes/client/configuration.py and support no_proxy just like kubectl.
sample value of no_proxy is below:
the above format (including CIDR) is supported by requests.utils.should_bypass_proxies, and it maybe the same as no_proxy environment variable.
It also needs no_proxy support in kubernetes-client/python-base for k8s_exec and k8s_cp, etc.
The text was updated successfully, but these errors were encountered: