Skip to content

Commit

Permalink
Update mariadb-deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiraalA authored Feb 22, 2024
1 parent 0368bab commit d58554a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployments/mariadb/mariadb-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ spec:
automountServiceAccountToken: false # Service Account Tokens are only mounted where necessary
securityContext:
runAsNonRoot: true # Containers should run as a high UID to avoid host conflict
runAsUser: 1000 # Using high UID to avoid conflicts
runAsUser: 103306 # Using high UID to avoid conflicts
readOnlyRootFilesystem: true # Use read-only filesystem for containers where possible
seLinuxOptions:
type: "docker/default" # Ensure that the seccomp profile is set to docker/default or runtime/default
containers:
- image: mariadb:10.6
- image: mariadb@sha256:placeholder_digest
name: mariadb
imagePullPolicy: Always
securityContext:
Expand Down

0 comments on commit d58554a

Please sign in to comment.