From 04d0b59f97b6f1851b893950e38113495fdfa807 Mon Sep 17 00:00:00 2001 From: mickkael <19755421+mickkael@users.noreply.github.com> Date: Sat, 31 Jan 2026 23:32:38 +0800 Subject: [PATCH] Probes can be disabled in Helm chart Signed-off-by: mickkael <19755421+mickkael@users.noreply.github.com> --- ci/helm-chart/templates/deployment.yaml | 4 ++++ ci/helm-chart/values.yaml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ci/helm-chart/templates/deployment.yaml b/ci/helm-chart/templates/deployment.yaml index e0e8989e5..38b855e83 100644 --- a/ci/helm-chart/templates/deployment.yaml +++ b/ci/helm-chart/templates/deployment.yaml @@ -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 }} diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index b0321f0e4..5fa151878 100644 --- a/ci/helm-chart/values.yaml +++ b/ci/helm-chart/values.yaml @@ -111,6 +111,12 @@ resources: {} # cpu: 100m # memory: 1000Mi +livenessProbe: + enabled: true + +readinessProbe: + enabled: true + nodeSelector: {} tolerations: []