Skip to content

Commit 39c29c0

Browse files
OCPBUGS-58424: mount /etc/pki/ca-trust/extracted/pem/ as empty dir
as the fs is now readonly we can't write the cluster trust bundle to this location before starting the operator. this mounts an empty volume in the location.
1 parent b06a3d8 commit 39c29c0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

manifests/07-operator-ibm-cloud-managed.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ spec:
7575
readOnly: true
7676
- mountPath: /tmp
7777
name: tmp
78+
- mountPath: /etc/pki/ca-trust/extracted/pem
79+
name: ca-trust-extracted-pem
7880
priorityClassName: system-cluster-critical
7981
serviceAccountName: cluster-image-registry-operator
8082
shareProcessNamespace: false
@@ -109,3 +111,5 @@ spec:
109111
- serviceAccountToken:
110112
audience: openshift
111113
path: token
114+
- emptyDir: {}
115+
name: ca-trust-extracted-pem

manifests/07-operator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ spec:
9292
readOnly: true
9393
- name: tmp
9494
mountPath: /tmp
95+
- name: ca-trust-extracted-pem
96+
mountPath: /etc/pki/ca-trust/extracted/pem
9597
volumes:
9698
- name: tmp
9799
emptyDir: {}
@@ -114,3 +116,5 @@ spec:
114116
- serviceAccountToken:
115117
path: token
116118
audience: openshift
119+
- name: ca-trust-extracted-pem
120+
emptyDir: {}

0 commit comments

Comments
 (0)