feat: configurable argo-notifications-replicas
Signed-off-by: yyzxw <1020938856@qq.com>
This commit is contained in:
parent
e15b7b7018
commit
c44ec02876
2 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,7 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: {{ .Values.notifications.replicaCount }}
|
||||||
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
||||||
{{- with include "argo-cd.strategy" (mergeOverwrite (deepCopy .Values.global.deploymentStrategy) .Values.notifications.deploymentStrategy) }}
|
{{- with include "argo-cd.strategy" (mergeOverwrite (deepCopy .Values.global.deploymentStrategy) .Values.notifications.deploymentStrategy) }}
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
@ -2703,6 +2703,9 @@ notifications:
|
||||||
# -- Enable notifications controller
|
# -- Enable notifications controller
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
# -- The number of Notifications controller pods to run
|
||||||
|
replicaCount: 1
|
||||||
|
|
||||||
# -- Notifications controller name string
|
# -- Notifications controller name string
|
||||||
name: notifications-controller
|
name: notifications-controller
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue