Skip to content

Commit

Permalink
Add support for HTTP_PROXY, HTTPS_PROXY and NO_PROXY in probes
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored and Simon Emms committed Aug 3, 2022
1 parent b1c03ca commit d160154
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/common-go/kubernetes/probes.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func NetworkIsReachableProbe(url string) func() error {
return func() error {
tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
Proxy: http.ProxyFromEnvironment,
}
client := &http.Client{
Transport: tr,
Expand Down

0 comments on commit d160154

Please sign in to comment.