If we want to be notified before or after deploying an application, KubeVela provides integration with notification webhooks, allowing users to send notifications to DingTalk or Slack.
In this guide, you will learn how to send notifications via
webhook-notification in workflow.
|slack||Object||Optional, please fulfill its url and message if you want to send Slack messages|
|slack.url||String||Required, the webhook address of Slack|
|slack.message||Object||Required, the Slack messages you want to send, please follow Slack messaging|
|dingding||Object||Optional, please fulfill its url and message if you want to send DingTalk messages|
|dingding.url||String||Required, the webhook address of DingTalk|
|dingding.message||Object||Required, the DingTalk messages you want to send, please follow DingTalk messaging|
Apply the following
Application with workflow step type of
we can see that before and after the deployment of the application, the messages can be seen in the corresponding group chat.
webhook-notification, we can integrate with webhook notifier easily.