Reloader not sending Alerts to slack when it triggers a rolling upgrade
MrAbaddon opened this issue · comments
Hi,
I'm using reloader helm chart v1.0.36.
I have a slack app and enabled webhooks. I've reinstalled the app in the slack workspace and gave access to correct channel to receive the messages.
I made a curl command in console to test if webhook was working and I could see the message arriving to slack channel.
curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}' https://hooks.slack.com/services/XXXXXXXXX/YYYYYYYYYYY/XXXXXXXXXXXXXXXXXXXXXXXXX
I've added the env vars to values:
reloader:
reloadStrategy: annotations
env:
secret:
ALERT_ON_RELOAD: "true"
ALERT_SINK: "slack"
ALERT_WEBHOOK_URL: "https://hooks.slack.com/services/XXXXXXXXX/YYYYYYYYYYY/XXXXXXXXXXXXXXXXXXXXXXXXX"
ALERT_ADDITIONAL_INFO: "Environment: Dev"
I make a change in a configmap and I can see in logs the change takuing effect:
time="2023-08-23T16:10:43Z" level=info msg="Changes detected in 'app-env-vars' of type 'CONFIGMAP' in namespace 'app', Updated 'api' of type 'Deployment' in namespace 'app'"
time="2023-08-23T16:10:43Z" level=info msg="Changes detected in 'app-env-vars' of type 'CONFIGMAP' in namespace 'app', Updated 'web' of type 'Deployment' in namespace 'app'"
I can see new pods restarting but no notification arrives to slack. Anyone has the same Issue?
Regards,
Bruno Neves
Just leaving a comment that this was discussed in Stakater Slack before creating this issue.
Hello. Any feedback on this?
+1 on this one as im experiencing the same issue