mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
Respect env proxy settings when using custom Transport
This commit is contained in:
parent
369e44ad43
commit
bf7e755ef3
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ func newHTTPGetter(URL, CertFile, KeyFile, CAFile string) (Getter, error) {
|
|||
client.client = &http.Client{
|
||||
Transport: &http.Transport{
|
||||
TLSClientConfig: tlsConf,
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
},
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue