From 48377fe4515cc6a5bf5ac92ea6086090e7b82798 Mon Sep 17 00:00:00 2001 From: Rongrong Liu Date: Wed, 26 Feb 2025 09:16:39 -0800 Subject: [PATCH] fix:add proxy support when mTLS configured Signed-off-by: Rongrong Liu --- cmd/helm/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/helm/root.go b/cmd/helm/root.go index f8ed82a60..23fe9d806 100644 --- a/cmd/helm/root.go +++ b/cmd/helm/root.go @@ -321,6 +321,7 @@ func newRegistryClientWithTLS( registry.ClientOptHTTPClient(&http.Client{ Transport: &http.Transport{ TLSClientConfig: tlsConf, + Proxy: http.ProxyFromEnvironment, }, }), registry.ClientOptBasicAuth(username, password),