mirror of https://github.com/helm/helm.git
Merge pull request #30818 from TerryHowe/fix-dev-v3-proxy
fix:add proxy support when mTLS configured
This commit is contained in:
commit
aa7cdae3af
|
@ -321,6 +321,7 @@ func newRegistryClientWithTLS(
|
||||||
registry.ClientOptHTTPClient(&http.Client{
|
registry.ClientOptHTTPClient(&http.Client{
|
||||||
Transport: &http.Transport{
|
Transport: &http.Transport{
|
||||||
TLSClientConfig: tlsConf,
|
TLSClientConfig: tlsConf,
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
registry.ClientOptBasicAuth(username, password),
|
registry.ClientOptBasicAuth(username, password),
|
||||||
|
|
Loading…
Reference in New Issue