feat(argo-cd): Add ability to set Notification Services (#1220)

Signed-off-by: yu-croco <yuki.kita22@gmail.com>
This commit is contained in:
Aikawa 2022-04-12 21:31:39 +09:00 committed by GitHub
parent 2cced04870
commit 7932e5a460
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v2.3.3 appVersion: v2.3.3
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 4.5.1 version: 4.5.2
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords: keywords:
@ -21,4 +21,4 @@ dependencies:
condition: redis-ha.enabled condition: redis-ha.enabled
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Fixed]: Removed status field from ApplicationSet CRD" - "[Feat]: Add ability to set Notification Services"

View file

@ -776,6 +776,7 @@ NAME: my-release
| notifications.serviceAccount.annotations | object | `{}` | Annotations applied to created service account | | notifications.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
| notifications.serviceAccount.create | bool | `true` | Specifies whether a service account should be created | | notifications.serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| notifications.serviceAccount.name | string | `"argocd-notifications-controller"` | The name of the service account to use. | | notifications.serviceAccount.name | string | `"argocd-notifications-controller"` | The name of the service account to use. |
| notifications.services | object | `{}` | The notification services such as slack, email or custom webhook. This will be stored on `notifications.cm.name` ConfigMap. |
| notifications.subscriptions | list | `[]` | Contains centrally managed global application subscriptions | | notifications.subscriptions | list | `[]` | Contains centrally managed global application subscriptions |
| notifications.templates | object | `{}` | The notification template is used to generate the notification content | | notifications.templates | object | `{}` | The notification template is used to generate the notification content |
| notifications.tolerations | list | `[]` | [Tolerations] for use with node taints | | notifications.tolerations | list | `[]` | [Tolerations] for use with node taints |

View file

@ -24,4 +24,7 @@ data:
{{- with .Values.notifications.triggers }} {{- with .Values.notifications.triggers }}
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}
{{- with .Values.notifications.services }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }} {{- end }}

View file

@ -2580,3 +2580,9 @@ notifications:
# -- [Node selector] # -- [Node selector]
nodeSelector: {} nodeSelector: {}
# -- The notification services such as slack, email or custom webhook. This will be stored on `notifications.cm.name` ConfigMap.
## For more information: https://argocd-notifications.readthedocs.io/en/stable/services/overview/
services: {}
# service.slack: |
# token: $slack-token