keel-hq / keel

Kubernetes Operator to automate Helm, DaemonSet, StatefulSet & Deployment updates
https://keel.sh
Mozilla Public License 2.0
2.42k stars 280 forks source link

Add support for ntfy #746

Open cpatscheider opened 10 months ago

cpatscheider commented 10 months ago

Current State:

Notifications to ntfy can be triggered via the generic webhook notification. However this results in receiving the json as plain text notification: image

Target State:

Native ntfy support shall be added via seperate environment variables for configuration. E.g.: NTFY_ENDPOINT This will allow to post the notification in a way to output nice ntfy notifications: image

Optional

Implementation

Should be very similar to the Discord implementation using the go implementation snippet from the ntfy website: https://docs.ntfy.sh/publish/#tags-emojis image

cpatscheider commented 10 months ago

I am gonna try myself out on this one, since it looks pretty straight forward. Bear with me since this is my first contribution .