Stavros kois 1 year ago
parent
commit
486ccee3d7
1 changed files with 6 additions and 4 deletions
  1. 6 4
      library/ix-dev/community/dashy/templates/_dashy.tpl

+ 6 - 4
library/ix-dev/community/dashy/templates/_dashy.tpl

@@ -12,8 +12,9 @@ workload:
           primary: true
           imageSelector: image
           securityContext:
-            runAsUser: {{ .Values.dashyRunAs.user }}
-            runAsGroup: {{ .Values.dashyRunAs.group }}
+            runAsUser: 0
+            runAsGroup: 0
+            runAsNonRoot: false
           env:
             NODE_ENV: production
             IS_DOCKER: "true"
@@ -50,8 +51,9 @@ workload:
           type: init
           imageSelector: image
           securityContext:
-            runAsUser: {{ .Values.dashyRunAs.user }}
-            runAsGroup: {{ .Values.dashyRunAs.group }}
+            runAsUser: 0
+            runAsGroup: 0
+            runAsNonRoot: false
           command:
             - /bin/sh
           args: