Respect [HTTP(S)|NO]_PROXY envs when dialing directly to Kube via SPDY#30624
Merged
Respect [HTTP(S)|NO]_PROXY envs when dialing directly to Kube via SPDY#30624
[HTTP(S)|NO]_PROXY envs when dialing directly to Kube via SPDY#30624Conversation
e2363a4 to
b4664b0
Compare
[HTTP(S)|NO]_PROXY envs when dialing directly to Kube via SPDY
78c645e to
8e2c69d
Compare
8e2c69d to
c815528
Compare
greedy52
approved these changes
Aug 28, 2023
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>
c815528 to
80f32c3
Compare
Joerger
approved these changes
Aug 28, 2023
espadolini
approved these changes
Aug 29, 2023
tigrato
added a commit
that referenced
this pull request
Aug 29, 2023
…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>
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Aug 29, 2023
…PDY (#30624) (#31133) * 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 * add proxier helper --------- Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR enables support for proxy env's when dialing directly to the Kubernetes Cluster -
kubernetes_serviceandlegacy_proxywhen the cluster is local - for the SPDY protocol used bykubectl execandkubectl portforward.PR #30583 introduced support for normal HTTP requests but missed support for SPDY requests.
Fixes #30550