From 04e57693c40558bb3fdd58c985cb2c15b71f6e04 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Fri, 21 Feb 2025 16:34:33 +0800 Subject: [PATCH] feat(mongo): add security context configurations to values.alpha.yaml Signed-off-by: zhenyus --- freeleaps/helm-pkg/3rd/mongo/values.alpha.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/freeleaps/helm-pkg/3rd/mongo/values.alpha.yaml b/freeleaps/helm-pkg/3rd/mongo/values.alpha.yaml index ee58800b..f25aea0e 100644 --- a/freeleaps/helm-pkg/3rd/mongo/values.alpha.yaml +++ b/freeleaps/helm-pkg/3rd/mongo/values.alpha.yaml @@ -12,6 +12,12 @@ image: pullPolicy: IfNotPresent architecture: standalone useStatefulSet: true +podSecurityContext: + enabled: true +containerSecurityContext: + enabled: true + runAsUser: 0 + runAsGroup: 0 auth: enabled: false extraEnvVars: []