feat(argo-cd): Add priorityClassName to notifications (#1439)

Allow to set up a priorityClassName for notifications controller Pods

Signed-off-by: Paweł Kalemba <pawel.kalemba@getresponse.com>

Signed-off-by: Paweł Kalemba <pawel.kalemba@getresponse.com>
main argo-cd-5.4.2
Paweł Kalemba 2022-09-06 12:13:28 +02:00 committed by GitHub
parent 0bac122e98
commit db0957d3cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View File

@ -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"

View File

@ -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 |

View File

@ -100,4 +100,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.notifications.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- end }}

View File

@ -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: