From 7b2432d4d6f3430047e08ef37bcde0ab322f33ad Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 29 Jun 2020 20:46:10 +0200 Subject: [PATCH] do not define default and add notifications --- _apps/appprojects.yaml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/_apps/appprojects.yaml b/_apps/appprojects.yaml index 1d70e1f..ae5e82f 100644 --- a/_apps/appprojects.yaml +++ b/_apps/appprojects.yaml @@ -1,23 +1,10 @@ apiVersion: argoproj.io/v1alpha1 kind: AppProject -metadata: - name: default - namespace: argocd -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' ---- -apiVersion: argoproj.io/v1alpha1 -kind: AppProject metadata: name: system namespace: argocd + annotations: + recipients.argocd-notifications.argoproj.io: 'webhook:chat' spec: clusterResourceWhitelist: - group: '*' @@ -33,6 +20,8 @@ kind: AppProject metadata: name: apps namespace: argocd + annotations: + recipients.argocd-notifications.argoproj.io: 'webhook:chat' spec: clusterResourceWhitelist: - group: '*'