From 303d24b1df3af3d95ec0b1975cf75cf5a279f93c Mon Sep 17 00:00:00 2001 From: David Jeffers Date: Sun, 23 Mar 2025 23:18:16 -0400 Subject: [PATCH] Trying to add pod security context to init container --- clusterprism_halloween_values.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clusterprism_halloween_values.yaml b/clusterprism_halloween_values.yaml index 0817f82..7612c0d 100644 --- a/clusterprism_halloween_values.yaml +++ b/clusterprism_halloween_values.yaml @@ -43,6 +43,12 @@ initContainers: - ALL seccompProfile: type: "RuntimeDefault" + podSecurityContext: + runAsUser: 2000 + runAsGroup: 2000 + fsGroup: 2000 + fsGroupChangePolicy: "OnRootMismatch" + runAsNonRoot: true resources: requests: