notifications-engine icon indicating copy to clipboard operation
notifications-engine copied to clipboard

Slack Notification is not working

Open s9r-5 opened this issue 1 year ago • 1 comments

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: ```

s9r-5 avatar Sep 04 '23 21:09 s9r-5

Anyone looking into this

s9r-5 avatar Sep 06 '23 21:09 s9r-5