fix probe

This commit is contained in:
Stavros kois
2023-11-13 19:17:58 +02:00
committed by Stavros Kois
parent 46d7b9cab1
commit 7fde957400
2 changed files with 17 additions and 12 deletions

View File

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

View File

@@ -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