diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 9962ad77..174c0f5e 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.4.11 description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 5.4.1 +version: 5.4.2 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png keywords: @@ -19,4 +19,4 @@ dependencies: condition: redis-ha.enabled annotations: artifacthub.io/changes: | - - "[Fixed]: Template existing value automountServiceAccountToken into repo-server" + - "[Added]: Add priorityClassName to notifications controller" diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index 3e66621f..c2a8169c 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -960,6 +960,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide | notifications.notifiers | object | See [values.yaml] | Configures notification services such as slack, email or custom webhook | | notifications.podAnnotations | object | `{}` | Annotations to be applied to the controller Pods | | notifications.podLabels | object | `{}` | Labels to be applied to the controller Pods | +| notifications.priorityClassName | string | `""` | Priority class for the controller pods | | notifications.resources | object | `{}` | Resource limits and requests for the controller | | notifications.secret.annotations | object | `{}` | key:value pairs of annotations to be added to the secret | | notifications.secret.create | bool | `true` | Whether helm chart creates controller secret | diff --git a/charts/argo-cd/templates/argocd-notifications/deployment.yaml b/charts/argo-cd/templates/argocd-notifications/deployment.yaml index 4b4ac1e0..cfbb54f7 100644 --- a/charts/argo-cd/templates/argocd-notifications/deployment.yaml +++ b/charts/argo-cd/templates/argocd-notifications/deployment.yaml @@ -100,4 +100,7 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.notifications.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} {{- end }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index f4cb3e44..a0ec0150 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -2277,6 +2277,9 @@ notifications: # -- Container Security Context containerSecurityContext: {} + # -- Priority class for the controller pods + priorityClassName: "" + # -- Resource limits and requests for the controller resources: {} # limits: