Stavros kois 1 年之前
父节点
当前提交
486ccee3d7
共有 1 个文件被更改,包括 6 次插入4 次删除
  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: