Added probes to chart vars
All checks were successful
Publish Helm Charts / build-and-publish (push) Successful in 9s

This commit is contained in:
Ultradesu
2026-02-04 16:36:57 +02:00
parent d223c6ff1a
commit 4d611eebff
3 changed files with 60 additions and 19 deletions

View File

@@ -61,30 +61,36 @@ spec:
- name: https
containerPort: 8443
protocol: TCP
{{- if .Values.healthchecks.startupProbe.enabled }}
startupProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 12
path: {{ .Values.healthchecks.startupProbe.httpGet.path }}
port: {{ .Values.healthchecks.startupProbe.httpGet.port }}
initialDelaySeconds: {{ .Values.healthchecks.startupProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.healthchecks.startupProbe.periodSeconds }}
timeoutSeconds: {{ .Values.healthchecks.startupProbe.timeoutSeconds }}
failureThreshold: {{ .Values.healthchecks.startupProbe.failureThreshold }}
{{- end }}
{{- if .Values.healthchecks.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: /api/status_p.xml
port: http
initialDelaySeconds: 90
periodSeconds: 20
timeoutSeconds: 10
failureThreshold: 6
path: {{ .Values.healthchecks.livenessProbe.httpGet.path }}
port: {{ .Values.healthchecks.livenessProbe.httpGet.port }}
initialDelaySeconds: {{ .Values.healthchecks.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.healthchecks.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.healthchecks.livenessProbe.timeoutSeconds }}
failureThreshold: {{ .Values.healthchecks.livenessProbe.failureThreshold }}
{{- end }}
{{- if .Values.healthchecks.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
path: {{ .Values.healthchecks.readinessProbe.httpGet.path }}
port: {{ .Values.healthchecks.readinessProbe.httpGet.port }}
initialDelaySeconds: {{ .Values.healthchecks.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.healthchecks.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.healthchecks.readinessProbe.timeoutSeconds }}
failureThreshold: {{ .Values.healthchecks.readinessProbe.failureThreshold }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts: