Skip to content

Commit

Permalink
Adds Proxy to provider client http transport
Browse files Browse the repository at this point in the history
This allows the provider client to be able to reach the proxy server,
and the openstack endpoints in a disconnected proxy environment.
  • Loading branch information
Emilio Garcia authored and openshift-cherrypick-robot committed Sep 3, 2021
1 parent 471cf3a commit 197cc7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cloud/openstack/clients/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func GetProviderClient(cloud clientconfig.Cloud, cert []byte) (*gophercloud.Prov
TLSClientConfig: &tls.Config{
RootCAs: certPool,
},
Proxy: http.ProxyFromEnvironment,
},
}
provider.HTTPClient = client
Expand Down

0 comments on commit 197cc7e

Please sign in to comment.