From 44d9565fd92a8c2a669167d02be6880892bed061 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Thu, 21 Jul 2022 11:57:18 +0200 Subject: [PATCH] chore(helm): sink/storage default user root Signed-off-by: rjshrjndrn --- scripts/helmcharts/openreplay/values.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/scripts/helmcharts/openreplay/values.yaml b/scripts/helmcharts/openreplay/values.yaml index 20700a4f2..65b67c6bc 100644 --- a/scripts/helmcharts/openreplay/values.yaml +++ b/scripts/helmcharts/openreplay/values.yaml @@ -92,6 +92,20 @@ nginx-ingress: # Overrides the image tag whose default is the chart appVersion. tag: "buster" +# Running sink and storage as non root users, because of existing volume permission change will take time +sink: + podSecurityContext: + runAsUser: 0 + runAsGroup: 0 + fsGroup: 0 + fsGroupChangePolicy: "OnRootMismatch" +storage: + podSecurityContext: + runAsUser: 0 + runAsGroup: 0 + fsGroup: 0 + fsGroupChangePolicy: "OnRootMismatch" + ingress-nginx: enabled: true controller: