teleport/lib/kube
Tiago Silva 3dfaa8f1c1
Respect [HTTP(S)|NO]_PROXY envs when dialing directly to Kube via SPDY (#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>
2023-08-29 08:28:00 +00:00
..
grpc Drop custom gRPC chain functions (#30672) 2023-08-18 15:37:31 +00:00
kubeconfig Fix Kubernetes selected cluster (#30167) 2023-08-10 10:25:45 +00:00
proxy Respect [HTTP(S)|NO]_PROXY envs when dialing directly to Kube via SPDY (#30624) 2023-08-29 08:28:00 +00:00
utils Improve client api for listing resources (#23592) 2023-04-11 18:23:47 +00:00
doc.go Kubernetes proxy to use impersonation API 2019-03-18 15:46:49 -07:00