From cc8ac4f40f6e46a234a1eb87acf659a804cb1d25 Mon Sep 17 00:00:00 2001 From: egvimo Date: Fri, 17 Apr 2026 21:03:44 +0200 Subject: [PATCH] feat(charts): make replicaCount optional (#7744) --- ci/helm-chart/templates/deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/helm-chart/templates/deployment.yaml b/ci/helm-chart/templates/deployment.yaml index 38b855e83..18bece028 100644 --- a/ci/helm-chart/templates/deployment.yaml +++ b/ci/helm-chart/templates/deployment.yaml @@ -8,7 +8,9 @@ metadata: annotations: {{- toYaml .Values.annotations | nindent 4 }} {{- end }} spec: - replicas: {{ .Values.replicaCount | default 1 }} + {{- if ne .Values.replicaCount nil }} + replicas: {{ .Values.replicaCount }} + {{- end }} strategy: type: Recreate selector: