Stavros kois 1 tahun lalu
induk
melakukan
7fde957400

+ 8 - 0
library/ix-dev/community/dashy/metadata.yaml

@@ -0,0 +1,8 @@
+runAsContext:
+  - userName: root
+    groupName: root
+    gid: 0
+    uid: 0
+    description: Dashy runs as a root user.
+capabilities: []
+hostMounts: []

+ 9 - 12
library/ix-dev/community/dashy/templates/_dashy.tpl

@@ -33,22 +33,19 @@ workload:
           probes:
             liveness:
               enabled: true
-              type: exec
-              command:
-                - NODE_OPTIONS=--dns-result-order=ipv4first node
-                - /app/services/healthcheck
+              type: http
+              port: {{ .Values.dashyNetwork.webPort }}
+              path: /
             readiness:
               enabled: true
-              type: exec
-              command:
-                - NODE_OPTIONS=--dns-result-order=ipv4first node
-                - /app/services/healthcheck
+              type: http
+              port: {{ .Values.dashyNetwork.webPort }}
+              path: /
             startup:
               enabled: true
-              type: exec
-              command:
-                - NODE_OPTIONS=--dns-result-order=ipv4first node
-                - /app/services/healthcheck
+              type: http
+              port: {{ .Values.dashyNetwork.webPort }}
+              path: /
       initContainers:
         init-config:
           enabled: true