fix: respect proxy envvars on helm install/upgrade

Signed-off-by: Sidharth Menon <menon.sid.k@gmail.com>
(cherry picked from commit b0603fb042)
release-3.15
Sidharth Menon 1 year ago committed by Matt Farina
parent eb4cf6051e
commit 7413819bb9
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

@ -156,6 +156,7 @@ func NewRegistryClientWithTLS(out io.Writer, certFile, keyFile, caFile string, i
ClientOptHTTPClient(&http.Client{ ClientOptHTTPClient(&http.Client{
Transport: &http.Transport{ Transport: &http.Transport{
TLSClientConfig: tlsConf, TLSClientConfig: tlsConf,
Proxy: http.ProxyFromEnvironment,
}, },
}), }),
) )

Loading…
Cancel
Save