diff --git a/library/ix-dev/community/dashy/metadata.yaml b/library/ix-dev/community/dashy/metadata.yaml new file mode 100644 index 0000000000..23542a150e --- /dev/null +++ b/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: [] diff --git a/library/ix-dev/community/dashy/templates/_dashy.tpl b/library/ix-dev/community/dashy/templates/_dashy.tpl index 183db08333..85ecc5c8aa 100644 --- a/library/ix-dev/community/dashy/templates/_dashy.tpl +++ b/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