-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wildcard (*) in NO_PROXY environment variable is not honored #2506
Comments
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions! |
I think the behavior here is to be compliant with kubectl client (more or less curl/wget pattern). So, it is different from usual JAVA pattern. |
Looking at the current implementation of getProxyUrl I'm wondering whether something like wildcards will work. I'm not a regex expert but since |
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions! |
I need to set my
https_proxy
environment variable tohttp://127.0.0.1:3128
for reasons unrelated tokubernetes-client
The following scenario causes an error as
kubernetes-client
tries to proxy themasterUrl
via http://127.0.0.1:3128The following scenario works since the domain is an exact match (and does not contain asterisk *)
I believe this is related to https://github.com/fabric8io/kubernetes-client/pull/209/files
I think a regular expression is required instead of
if (host.endsWith(noProxy))
so that asterisk characters are wildcardsThe text was updated successfully, but these errors were encountered: