configure recipients

This commit is contained in:
Tobias Brunner 2020-03-31 22:23:00 +02:00
parent 74b2fa616c
commit d7277c5610
2 changed files with 15 additions and 2 deletions

15
argocd/appproject.yaml Normal file
View File

@ -0,0 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: default
annotations:
recipients.argocd-notifications.argoproj.io: webhook:chat
spec:
clusterResourceWhitelist:
- group: '*'
kind: '*'
destinations:
- namespace: '*'
server: '*'
sourceRepos:
- '*'

View File

@ -5,8 +5,6 @@ metadata:
name: argocd-notifications-cm
data:
config.yaml: |
subscriptions:
- recipients: webhook:chat
triggers:
- name: on-sync-succeeded
enabled: true