Skip to content

Commit

Permalink
Update all-resources.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiraalA committed Feb 22, 2024
1 parent b582bb3 commit 4a6fd1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deployments/mariadb/all-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ spec:
- image: mariadb:10.6@sha256:xxxxx
name: mariadb
imagePullPolicy: Always
securityContext:
runAsNonRoot: true # Running container as non-root
runAsUser: 103306 # Using high UID to avoid conflicts
readOnlyRootFilesystem: true # Mounting read-only filesystem
runAsNonRoot: true
runAsUser: 10336
allowPrivilegeEscalation: false
seccompProfile:
type: docker/default # Ensure that the seccomp profile is set to docker/default or runtime/default
capabilities:
drop:
- ALL # Dropping all capabilities
Expand Down

0 comments on commit 4a6fd1c

Please sign in to comment.