From 8c780b18e3b60f640b1a3e83f1074a650592b38e Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Tue, 17 Dec 2024 14:04:05 +0100 Subject: [PATCH] Whishper: change securitycontext mongo --- whisper/mongo-deployment.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/whisper/mongo-deployment.yaml b/whisper/mongo-deployment.yaml index 9f589bd..8c7e6c5 100644 --- a/whisper/mongo-deployment.yaml +++ b/whisper/mongo-deployment.yaml @@ -23,7 +23,11 @@ spec: io.kompose.service: mongo spec: securityContext: - fsGroup: 2000 + runAsGroup: 1000 + runAsNonRoot: true + runAsUser: 1000 + supplementalGroups: + - 6 containers: - args: - --logpath