Merge pull request #30818 from TerryHowe/fix-dev-v3-proxy

fix:add proxy support when mTLS configured
pull/30823/head
Matt Farina 8 months ago committed by GitHub
commit aa7cdae3af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -321,6 +321,7 @@ func newRegistryClientWithTLS(
registry.ClientOptHTTPClient(&http.Client{
Transport: &http.Transport{
TLSClientConfig: tlsConf,
Proxy: http.ProxyFromEnvironment,
},
}),
registry.ClientOptBasicAuth(username, password),

Loading…
Cancel
Save