From fb8d3b2b0199d58bab0bde7a249467096759d981 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@suma-ev.de> Date: Tue, 17 Aug 2021 15:16:15 +0200 Subject: [PATCH] switched user --- chart/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 7f577b9ee..5c1a93132 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -66,6 +66,10 @@ spec: - name: redis-config configMap: name: redis-container-config + securityContext: + fsGroup: 1000 + runAsUser: 1000 + runAsGroup: 1000 containers: - name: {{ .Chart.Name }}-phpfpm image: {{ template "imagename" . }} -- GitLab