Skip to content

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

Merged
tigrato merged 1 commit intobranch/v13from
tigrato/backport-30624-branch-v13
Aug 29, 2023
Merged

[v13] Respect [HTTP(S)|NO]_PROXY envs when dialing directly to Kube via SPDY#31133
tigrato merged 1 commit intobranch/v13from
tigrato/backport-30624-branch-v13

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Aug 29, 2023

Backport #30624 to branch/v13

…PDY (#30624)

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

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 - for the SPDY protocol used by `kubectl exec` and `kubectl portforward`.

PR #30583 introduced support for normal HTTP requests but missed support for SPDY requests.

Fixes #30550

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* add proxier helper

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@tigrato tigrato enabled auto-merge August 29, 2023 09:21
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from Joerger August 29, 2023 13:29
@tigrato tigrato added this pull request to the merge queue Aug 29, 2023
Merged via the queue into branch/v13 with commit c472cd4 Aug 29, 2023
@tigrato tigrato deleted the tigrato/backport-30624-branch-v13 branch August 29, 2023 13:45
@fheinecke fheinecke mentioned this pull request Sep 26, 2023
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.

3 participants