Skip to content

Commit

Permalink
Respect env proxy settings when using custom Transport
Browse files Browse the repository at this point in the history
  • Loading branch information
gburton1 authored and Greg Burton committed Mar 8, 2018
1 parent 369e44a commit bf7e755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/getter/httpgetter.go
Expand Up @@ -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 {
Expand Down

0 comments on commit bf7e755

Please sign in to comment.