Skip to content

Commit 274b815

Browse files
joelanfordci-robot
authored andcommitted
UPSTREAM: <carry>: resolve issue with pre-mature mounting of trusted CA configmap
Signed-off-by: Joe Lanford <[email protected]>
1 parent 0bb4971 commit 274b815

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

openshift/catalogd/kustomize/overlays/openshift/olmv1-ns/patches/manager_deployment_certs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
value: {"name":"catalogserver-certs", "secret":{"optional":false,"secretName":"catalogserver-cert"}}
44
- op: add
55
path: /spec/template/spec/volumes/-
6-
value: {"name":"trusted-ca-bundle", "configMap":{"optional":false,"name":"trusted-ca-bundle"}}
6+
value: {"name":"trusted-ca-bundle", "configMap":{"optional":false,"name":"trusted-ca-bundle", "items":[{"key":"ca-bundle.crt","path":"ca-bundle.crt"}]}}
77
- op: add
88
path: /spec/template/spec/volumes/-
99
value: {"name":"service-ca", "configMap":{"optional":false,"name":"openshift-service-ca.crt"}}

openshift/catalogd/manifests/14-deployment-openshift-catalogd-catalogd-controller-manager.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ spec:
119119
optional: false
120120
secretName: catalogserver-cert
121121
- configMap:
122+
items:
123+
- key: ca-bundle.crt
124+
path: ca-bundle.crt
122125
name: catalogd-trusted-ca-bundle
123126
optional: false
124127
name: trusted-ca-bundle

openshift/operator-controller/kustomize/overlays/openshift/olmv1-ns/patches/manager_deployment_certs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
value: {"name":"operator-controller-certs", "secret":{"optional":false,"secretName":"operator-controller-cert"}}
44
- op: add
55
path: /spec/template/spec/volumes/-
6-
value: {"name":"trusted-ca-bundle", "configMap":{"optional":false,"name":"trusted-ca-bundle"}}
6+
value: {"name":"trusted-ca-bundle", "configMap":{"optional":false,"name":"trusted-ca-bundle", "items":[{"key":"ca-bundle.crt","path":"ca-bundle.crt"}]}}
77
- op: add
88
path: /spec/template/spec/volumes/-
99
value: {"name":"service-ca", "configMap":{"optional":false,"name":"openshift-service-ca.crt"}}

openshift/operator-controller/manifests/20-deployment-openshift-operator-controller-operator-controller-controller-manager.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ spec:
118118
optional: false
119119
secretName: operator-controller-cert
120120
- configMap:
121+
items:
122+
- key: ca-bundle.crt
123+
path: ca-bundle.crt
121124
name: operator-controller-trusted-ca-bundle
122125
optional: false
123126
name: trusted-ca-bundle

0 commit comments

Comments
 (0)