generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
feature-requestNew feature or requestNew feature or requestneeds-triageThis needs to be handled, it is the first automatically assigned label to issues.This needs to be handled, it is the first automatically assigned label to issues.
Description
Describe the feature
The _configure_proxy_settings method in k8s_apis.py sets configuration.proxy when HTTP_PROXY/HTTPS_PROXY are present, but does not check for NO_PROXY/no_proxy before doing so.
Use Case
This breaks environments where the proxy is set globally, but EKS API endpoints should be accessed directly via Direct Connect.
Proposed Solution
If the K8s API server's domain name part matches a NO_PROXY entry, proxy should not be configured on the Kubernetes client.
urllib.request.proxy_bypass_environment() might be used to check the target hostname against NO_PROXY before setting configuration.proxy.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature-requestNew feature or requestNew feature or requestneeds-triageThis needs to be handled, it is the first automatically assigned label to issues.This needs to be handled, it is the first automatically assigned label to issues.
Type
Projects
Status
To triage