From aaa6fb5d59f00f65242804f8d4f1d4605d2b2234 Mon Sep 17 00:00:00 2001 From: Yev Date: Wed, 16 Oct 2024 02:10:26 +0200 Subject: [PATCH] set podSecurityContext --- charts/s3sync-service/values.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/s3sync-service/values.yaml b/charts/s3sync-service/values.yaml index 7cab70a4..f583800d 100644 --- a/charts/s3sync-service/values.yaml +++ b/charts/s3sync-service/values.yaml @@ -22,8 +22,9 @@ imagePullSecrets: [] podAnnotations: {} # -- the [pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) -podSecurityContext: {} - # fsGroup: 2000 +podSecurityContext: + runAsUser: 8888 + runAsNonRoot: true # -- the [container security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) securityContext: {}