Skip to content

Commit

Permalink
Merge pull request #681 from 3scale/respect-env-vars-http-client
Browse files Browse the repository at this point in the history
http client respects http proxy env vars
  • Loading branch information
eguzki authored Nov 3, 2021
2 parents 10413ca + cb00d2e commit d28cdeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/helper/threescale_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func PortaClientFromURL(url *url.URL, token string) (*threescaleapi.ThreeScaleCl
// TODO By default should not skip verification
// Activated by some env var or Spec param
var transport http.RoundTripper = &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}

Expand Down

0 comments on commit d28cdeb

Please sign in to comment.