notifications-engine
notifications-engine copied to clipboard
Slack Notification is not working
I have added the slack token in secret and changed the configmap but still no notification triggered.
The config I am using
`` ` apiVersion: v1 kind: ConfigMap metadata: name: argocd-notifications-cm data: trigger.on-sync-status-unknown: | - when: app.status.sync.status == 'Unknown' send: [app-sync-status]
template.app-sync-status: | message: | Application {{.app.metadata.name}} sync is {{.app.status.sync.status}}. Application details: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}.
service.slack: | token: $slack-token
apiVersion: v1
kind: Secret
metadata:
name: argocd-notifications-secret
stringData:
slack-token:
Anyone looking into this