-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alerting: update Slack configuration #1025
alerting: update Slack configuration #1025
Conversation
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
```yaml | ||
title: <tmpl_string> | ||
value: <tmpl_string> | ||
[ short: <boolean> | default = slack_config.short_fields ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
slack_config.actions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I don't get your remark.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You had this at a different indentation previously
@@ -449,20 +451,49 @@ Slack notifications are sent via [Slack webhooks](https://api.slack.com/incoming | |||
channel: <tmpl_string> | |||
|
|||
# API request data as defined by the Slack webhook API. | |||
[ color: <tmpl_string> | default = '{{ if eq .Status "firing" }}danger{{ else }}good{{ end }}' ] | |||
[ icon_emoji: <tmpl_string> ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this stage we should probably sort alphabetically
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is better (for now) to keep the parameters that go into the webhook notification separated from the parameters that control the attachment because of the Slack API documentation which keeps them apart.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
@mpalmer @robcomcast please take a look since you've reported on the original issue. |
* Update binary-deployment.md * Add local deployment guide * Add testing guide
Fixes #501.