Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
Respect $HTTP_PROXY (#601) (#602)
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Poehn <[email protected]>
  • Loading branch information
pho-enix authored and prydonius committed Feb 19, 2019
1 parent 2426f50 commit ce38379
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/chart-repo/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ func initNetClient(additionalCA string) (*http.Client, error) {
TLSClientConfig: &tls.Config{
RootCAs: caCertPool,
},
Proxy: http.ProxyFromEnvironment,
},
}, nil
}

0 comments on commit ce38379

Please sign in to comment.