fix: replicaCount not being respect (#2708)

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
zyue110026
2024-12-19 14:12:15 +01:00
committed by GitHub
co-authored by Felix Kunde
parent eef49500a5
commit bb6242e3c9
@@ -9,7 +9,7 @@ metadata:
name: {{ template "postgres-operator-ui.fullname" . }}
namespace: {{ .Release.Namespace }}
spec:
replicas: 1
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }}
@@ -102,4 +102,4 @@ spec:
{{ toYaml .Values.tolerations | indent 8 }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- end }}