Skip to content
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

[v13] Respect [HTTP(S)|NO]_PROXY envs when dialing directly to Kube #30615

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

tigrato
Copy link
Contributor

@tigrato tigrato commented Aug 17, 2023

Backport #30583 to branch/v13

* Respect `[HTTP(S)|NO]_PROXY` envs when dialing directly to Kube

PR #11257 disabled support of `HTTP_PROXY`, `HTTPS_PROXY` and
`NO_PROXY` environement flags for Kubernetes Access. The desired
behavior was expected to be respected only by the Kubernetes Proxy and
Kubernetes Legacy Proxy when dialing over reverse tunnel but ended up
applied to all outbound connections from Kube Access flow.

This PR enables support for proxy env's when dialing directly to the
Kubernetes Cluster - `kubernetes_service` and `legacy_proxy` when the
cluster is local.

Fixes #30550

Signed-off-by: Tiago Silva <[email protected]>

* fix func name

* fix comment

---------

Signed-off-by: Tiago Silva <[email protected]>
@r0mant r0mant added this pull request to the merge queue Aug 22, 2023
Merged via the queue into branch/v13 with commit c1bdcd0 Aug 22, 2023
@r0mant r0mant deleted the tigrato/backport-30583-branch-v13 branch August 22, 2023 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants