How to configure notification to mattermost #176
Comments
I've never used their software, but it looks like you want to send a request like this, perhaps (seems a post is the message to a channel?). You'll want to base this off of the webhook service to send the appropriate request, storing your mattermost token in the |
Hi @alexmt |
Hey! I'm in the same problem. I'was trying to use webhook but in this case you need to define each channel and template for each webhook that you want to use. The better approach would be to use a Mattermost bot, with enough rights to POST the messages to any channel.
It seems that we can integrate it with mattermost Custom-names, but I didn't find any full configuration to do it Agree with @okiirawan, any example? |
@maauso @alexmt
Supporting mattermost service is more convenient than to use webhook service. |
@maauso
|
Yes @ryota-sakamoto is more convenient if we have mattermost service |
Thank you for clarification @ryota-sakamoto! I incorrectly assumed that it is 100% compatible. Since message creation is the hardest part I think it makes sense to support mattermost service and re-use code that constructs the slack message. |
I think so too. |
@okiirawan Thanks for your example configuration. Unfortunately it is not working for me in the expected way. E.g. I have to rename the property "message" within the body to "text" (see https://docs.mattermost.com/developer/webhooks-incoming.html#simple-incoming-webhook). Also the attachments are not working at all. Have you configured anything specific in your mattermost server to accept the slack format? |
@EdYa, did you create an incoming webhook? Or a Bot account? I believe the example is for a bot account. It works fine for me when I use a Bot account. Just make sure to add the bot account to your MM team, and channel. |
@Hunter-Thompson: I have created an incominig webhook. So then I will try it out with a bot account. Thanks for your quick reply and help. |
Implemented by #212 |
Hi,
Can someone help me how to configure argocd-notification to mattermost?
The text was updated successfully, but these errors were encountered: