Skip to content

Commit ce0726d

Browse files
committed
UPSTREAM: <carry>: set the SElinux type
Signed-off-by: Jian Zhang <[email protected]>
1 parent 55e4f58 commit ce0726d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@
1919
- op: add
2020
path: /spec/template/spec/containers/0/env
2121
value: [{"name":"SSL_CERT_DIR", "value":"/var/ca-certs"}]
22+
- op: add
23+
path: /spec/template/spec/securityContext/seLinuxOptions
24+
value: {"type":"spc_t"}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ spec:
9797
node-role.kubernetes.io/master: ""
9898
securityContext:
9999
runAsNonRoot: true
100+
seLinuxOptions:
101+
type: spc_t
100102
seccompProfile:
101103
type: RuntimeDefault
102104
serviceAccountName: catalogd-controller-manager

0 commit comments

Comments
 (0)