Skip to content

Commit

Permalink
Update wordpress-deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiraalA authored Feb 22, 2024
1 parent 822d90b commit 1731d54
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions deployments/wordpress/wordpress-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ spec:
tier: frontend
spec:
automountServiceAccountToken: false # Service Account Tokens are only mounted where necessary
securityContext:
seccompProfile:
type: docker/default
seccompProfile:
type: RuntimeDefault
containers:
- image: wordpress@sha256:INSERT_IMAGE_DIGEST_HERE
name: wordpress
Expand All @@ -31,7 +30,7 @@ spec:
readOnlyRootFilesystem: true # Use read-only filesystem
runAsUser: 10001 # Use user ID above 10000
seccompProfile:
type: docker/default
type: RuntimeDefault
capabilities:
drop: ["ALL"] # Minimize all containers with capabilities
resources:
Expand Down

0 comments on commit 1731d54

Please sign in to comment.