Update helm chart to allow scalling down to zero replicas when running in non HA mode (#813)

Co-authored-by: Cristian Marasescu <cristian.marasescu@ibm.com>
This commit is contained in:
cmarasescu
2025-01-29 14:23:22 +05:00
committed by GitHub
co-authored by Cristian Marasescu
parent 636ab7a3f5
commit 1d923bce36
2 changed files with 20 additions and 20 deletions
@@ -18,7 +18,7 @@ metadata:
namespace: {{ .Values.namespace | default .Release.Namespace }}
spec:
{{- if not (.Values.reloader.enableHA) }}
replicas: 1
replicas: {{ min .Values.reloader.deployment.replicas 1 }}
{{- else }}
replicas: {{ .Values.reloader.deployment.replicas }}
{{- end}}