Skip to content

Commit

Permalink
Merge pull request #429 from jhadvig/bz1835551
Browse files Browse the repository at this point in the history
Bug 1835551: Inject proxy envars to console-operator deployment
  • Loading branch information
openshift-merge-robot committed May 14, 2020
2 parents d33a1b5 + b16b148 commit 67e5ffb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/07-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Deployment
metadata:
name: console-operator
namespace: openshift-console-operator
annotations:
config.openshift.io/inject-proxy: console-operator
spec:
replicas: 1
selector:
Expand Down
1 change: 1 addition & 0 deletions pkg/console/controllers/route/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ func clientWithCA(caPool *x509.CertPool) *http.Client {
return &http.Client{
Timeout: 5 * time.Second,
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{
RootCAs: caPool,
},
Expand Down

0 comments on commit 67e5ffb

Please sign in to comment.