Skip to content

Commit

Permalink
http client respects http prxy env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Nov 3, 2021
1 parent 10413ca commit cb00d2e
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 cb00d2e

Please sign in to comment.