-
Notifications
You must be signed in to change notification settings - Fork 854
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
Customizable Verbosity for Slack Notifications #214
Comments
Ideally allow us to provide a template file (using go template syntax, similar to Alert Manager for Prometheus), to be able to define our own format. That would be extremely useful! {{ if gt (len .Notifications.Updated) 0 }}
{{ range .Notifications.Updated }}
Container {{ .Annotations.container }} was updated with ({{ .Annotations.imageName }}) {{ .Annotations.imageHash }}.
{{ .Annotations.deletedHash }} has been deleted.
{{ end }}
{{ end }}
{{ if gt (len .Notifications.Failed) 0 }}
{{ range .Notifications.Failed }}
There was a failure: {{ .Annotations.Error }}
{{ end }}
{{ end }} And I would totally try to implement it and start a new PR, but my golang knowledge is not sufficient. |
Bump up!? Not bugging though :) |
I feel you, but I only have so many hours to put into open source each month. It’s up for grabs though so if anyone want to take a stab at it; feel absolutely free. For now, however, I believe my time is better used elsewhere on the project. 🙏🏻 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing this issue in favor of #255 which is aimed towards a more generic (ie. not only for slack) solution. |
It would be great to do a less noisy version of the Slack notifications.
Instead of this:
It would be great to to summarize this to:
All containers redeployed with latest image
The text was updated successfully, but these errors were encountered: