From c44ec02876502976b5ebf361b3b1800af9cd67e0 Mon Sep 17 00:00:00 2001 From: yyzxw <1020938856@qq.com> Date: Mon, 17 Jul 2023 10:57:34 +0800 Subject: [PATCH] feat: configurable argo-notifications-replicas Signed-off-by: yyzxw <1020938856@qq.com> --- charts/argo-cd/templates/argocd-notifications/deployment.yaml | 2 +- charts/argo-cd/values.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/argo-cd/templates/argocd-notifications/deployment.yaml b/charts/argo-cd/templates/argocd-notifications/deployment.yaml index d2eca77f..9d62483f 100644 --- a/charts/argo-cd/templates/argocd-notifications/deployment.yaml +++ b/charts/argo-cd/templates/argocd-notifications/deployment.yaml @@ -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: diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 83ecff3e..fc5a8c91 100644 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -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