Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack Notification is not working #214

Open
s9r-5 opened this issue Sep 4, 2023 · 1 comment
Open

Slack Notification is not working #214

s9r-5 opened this issue Sep 4, 2023 · 1 comment

Comments

@s9r-5
Copy link

s9r-5 commented Sep 4, 2023

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
Copy link
Author

s9r-5 commented Sep 6, 2023

Anyone looking into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant