From bb83595acf5f8e419763c02e9c6219286f60cbc0 Mon Sep 17 00:00:00 2001 From: Kubeshop <174873053+ed382@users.noreply.github.com> Date: Tue, 19 Nov 2024 19:16:08 +0100 Subject: [PATCH] fix: mongodb user/group/fsgroup --- charts/testkube-enterprise/values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/testkube-enterprise/values.yaml b/charts/testkube-enterprise/values.yaml index cb35ac136..53a2bed65 100644 --- a/charts/testkube-enterprise/values.yaml +++ b/charts/testkube-enterprise/values.yaml @@ -689,6 +689,9 @@ mongodb: # -- MongoDB Pod Security Context podSecurityContext: runAsNonRoot: true + runAsUser: 1001 + runAsGroup: 1001 + fsGroup: 1001 # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container # -- Security Context for MongoDB container containerSecurityContext: {}