feat: configurable argo-notifications-replicas

Signed-off-by: yyzxw <1020938856@qq.com>
This commit is contained in:
yyzxw 2023-07-17 10:57:34 +08:00 committed by xiaowu.zhu
parent e15b7b7018
commit c44ec02876
2 changed files with 4 additions and 1 deletions

View file

@ -13,7 +13,7 @@ metadata:
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
spec:
replicas: 1
replicas: {{ .Values.notifications.replicaCount }}
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
{{- with include "argo-cd.strategy" (mergeOverwrite (deepCopy .Values.global.deploymentStrategy) .Values.notifications.deploymentStrategy) }}
strategy:

View file

@ -2703,6 +2703,9 @@ notifications:
# -- Enable notifications controller
enabled: true
# -- The number of Notifications controller pods to run
replicaCount: 1
# -- Notifications controller name string
name: notifications-controller