Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 0e6bae3

Browse files
authored
Merge pull request #154 from JoshVanL/enable-http-proxy
Enable HTTP_PROXY and HTTPS_PROXY environment variables
2 parents 75442f9 + d8b919c commit 0e6bae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/proxy/proxy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ func (p *Proxy) roundTripperForRestConfig(config *rest.Config) (http.RoundTrippe
237237

238238
// create tls transport to request
239239
tlsTransport := &http.Transport{
240+
Proxy: http.ProxyFromEnvironment,
240241
TLSClientConfig: tlsConfig,
241242
}
242243

0 commit comments

Comments
 (0)