argoproj / argoproj/notifications-engine

Slack Notification is not working

Open
#214 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
334
Forks
217
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the supplied ConfigMap and Secret, then inspect how notification triggers and Slack service configuration are loaded and evaluated. Reproduce the configuration in a Kubernetes environment and check controller logs; done means the sync-status trigger reliably produces the configured Slack notification.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.