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 9, 2021
1 parent 48b7341 commit 98fedea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cloud/openstack/clients/utils.go
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 98fedea

Please sign in to comment.