fix: respect proxy envvars on helm install/upgrade

Signed-off-by: Sidharth Menon <menon.sid.k@gmail.com>
pull/13117/head
Sidharth Menon 6 months ago
parent 15f76cf83c
commit b0603fb042

@ -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