diff --git a/pkg/util/http.go b/pkg/util/http.go index 91ded0edf1c..cdb7242520e 100644 --- a/pkg/util/http.go +++ b/pkg/util/http.go @@ -41,6 +41,7 @@ func CreateHTTPClient(timeout time.Duration, unsafeSsl bool) *http.Client { Timeout: timeout, Transport: &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: unsafeSsl}, + Proxy: http.ProxyFromEnvironment, }, }