From 5eff31c336081e99d4993c66912036dc0e7ac05c Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sun, 14 Jan 2024 19:45:38 +0100 Subject: [PATCH] Fix bad deployment configuration --- yaml/deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yaml/deployment.yaml b/yaml/deployment.yaml index 8fb5563..948c22e 100644 --- a/yaml/deployment.yaml +++ b/yaml/deployment.yaml @@ -65,8 +65,9 @@ spec: cpu: "0.01" securityContext: allowPrivilegeEscalation: false - runAsNonRoot: true readOnlyRootFilesystem: true + runAsUser: 1000 + runAsGroup: 1000 capabilities: drop: - ALL