feat(charts): make replicaCount optional (#7744)

This commit is contained in:
egvimo
2026-04-17 21:03:44 +02:00
committed by GitHub
parent a12c89658c
commit cc8ac4f40f

View File

@@ -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: