Skip to content

Commit

Permalink
feat(argo-cd): Add ability to set Notification Services (argoproj#1220)
Browse files Browse the repository at this point in the history
Signed-off-by: yu-croco <yuki.kita22@gmail.com>
  • Loading branch information
yu-croco authored and terrych0u committed Aug 4, 2022
1 parent a97887c commit ab14d16
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/argo-cd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v2.3.3
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 4.5.1
version: 4.5.2
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:
Expand All @@ -21,4 +21,4 @@ dependencies:
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- "[Fixed]: Removed status field from ApplicationSet CRD"
- "[Feat]: Add ability to set Notification Services"
1 change: 1 addition & 0 deletions charts/argo-cd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@ NAME: my-release
| 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.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.templates | object | `{}` | The notification template is used to generate the notification content |
| notifications.tolerations | list | `[]` | [Tolerations] for use with node taints |
Expand Down
3 changes: 3 additions & 0 deletions charts/argo-cd/templates/argocd-notifications/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ data:
{{- with .Values.notifications.triggers }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.notifications.services }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
6 changes: 6 additions & 0 deletions charts/argo-cd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2580,3 +2580,9 @@ notifications:

# -- [Node selector]
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

0 comments on commit ab14d16

Please sign in to comment.