You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @fmunteanu,
please have a look at our docs: https://kured.dev/docs/configuration/#notifications
We use "shoutrrr" for notifications, you can use any notification-service shoutrrr supports. Nothing is specific to slack here. There's no logic in kured which does a special notification handling, we just submit one of the three message-templates to the given URL via shoutrrr.
There are three different notifications (with three configurable message-templates):
Draining
Rebooting
Uncordoning
Does this answer your question? Any errors on notifying would be printed as warn-log into kured's pod-logs.
I noticed there is a mention about the username and channel in kubereboot/kured#482. I created a Slack app assigned to alerts channel and used the generated credentials, there are no issues posting into correct private channel, with correct user. I don't have to mention the username or channel into notifyUrl string:
Update: See the working implementation, which does not require mentioning the username or channel.
I created a Kured app in Slack and tested the functionality with the provided Webhook URL:
Chart settings:
I also need some clarifications if the
messageTemplate
chart settings are related to Slack only.I was wondering if anyone can shed some light where the issue resides. cc @dholbach @jackfrancis.
The text was updated successfully, but these errors were encountered: