Skip to content

Commit

Permalink
Update MUO to use proper pod and container security context
Browse files Browse the repository at this point in the history
  • Loading branch information
bennerv authored and cadenmarchese committed Feb 2, 2024
1 parent d371674 commit 7a40bfb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/operator/controllers/muo/staticresources/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ spec:
path: tls-ca-bundle.pem
name: trusted-ca-bundle
name: trusted-ca-bundle
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
containers:
- name: managed-upgrade-operator
# Replace this with the built image name
Expand Down Expand Up @@ -70,3 +74,9 @@ spec:
- mountPath: /etc/pki/ca-trust/extracted/pem
name: trusted-ca-bundle
readOnly: true
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsNonRoot: true

0 comments on commit 7a40bfb

Please sign in to comment.