Notifications: slack.token does not work, slack-token does. Why? #18996
-
I am using the ArgoCD helm chart for deployment. Relevant snippet of
The secret is manually created, via https://external-secrets.io/latest/. It looks like this:
I would like to rename the secret key to However, when I update both Why is that? I also tried with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That currently cannot work, because the notification-engine doesn't allow Adding the dot to the pattern should be trivial, but this would still be an incomplete solution. It would be better if the notification-engine uses the same parsing logic as the rest of Argo-CD, as reported by this related issue: |
Beta Was this translation helpful? Give feedback.
That currently cannot work, because the notification-engine doesn't allow
.
as part of the secret reference pattern:https://github.com/argoproj/notifications-engine/blob/261728a36e8357dfa7c258f7e1c4e3e763711ee1/pkg/api/config.go#L60
Adding the dot to the pattern should be trivial, but this would still be an incomplete solution. It would be better if the notification-engine uses the same parsing logic as the rest of Argo-CD, as reported by this related issue: