Probes can be disabled in Helm chart (#7663)

This commit is contained in:
mickkael
2026-02-11 00:37:18 +08:00
committed by GitHub
parent 65299492b6
commit 639c3202eb
3 changed files with 11 additions and 1 deletions

View File

@@ -123,14 +123,18 @@ spec:
containerPort: {{ .port }}
protocol: {{ .protocol }}
{{- end }}
{{- if ne .Values.livenessProbe.enabled false }}
livenessProbe:
httpGet:
path: /healthz
port: http
{{- end }}
{{- if ne .Values.readinessProbe.enabled false }}
readinessProbe:
httpGet:
path: /healthz
port: http
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}