From 8cb687aa628f48635a1c320b51e37809dac54284 Mon Sep 17 00:00:00 2001 From: egvimo Date: Tue, 7 Apr 2026 16:02:38 +0200 Subject: [PATCH] feat(charts): make replicaCount optional --- 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 38b855e83abd..18bece028fc6 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: