Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1936093: Canary: Use cluster-wide proxy for canary client #568

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/operator/controller/canary/http.go
Expand Up @@ -52,6 +52,9 @@ func probeRouteEndpoint(route *routev1.Route) error {
// TODO: Add the router's certificate to the HTTP client
// so we can enable TLS verification.
Transport: &http.Transport{
// Use the cluster-wide proxy if it is available in the
// pod's environment.
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
},
}
Expand Down