From 1731d549d14ec0f7500409f80ca8deb99305e799 Mon Sep 17 00:00:00 2001 From: Admiral Date: Thu, 22 Feb 2024 16:47:54 +0100 Subject: [PATCH] Update wordpress-deployment.yml --- deployments/wordpress/wordpress-deployment.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/deployments/wordpress/wordpress-deployment.yml b/deployments/wordpress/wordpress-deployment.yml index f47f6f0..228f06e 100644 --- a/deployments/wordpress/wordpress-deployment.yml +++ b/deployments/wordpress/wordpress-deployment.yml @@ -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 @@ -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: