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: