Skip to content
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

Use cases #1

Open
joy2fun opened this issue Jul 25, 2024 · 1 comment
Open

Use cases #1

joy2fun opened this issue Jul 25, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@joy2fun
Copy link
Owner

joy2fun commented Jul 25, 2024

Relay webhook notifications from uptime-kuma to bark on iOS / gotify. louislam/uptime-kuma#2413

@joy2fun joy2fun added the good first issue Good for newcomers label Jul 25, 2024
@joy2fun
Copy link
Owner Author

joy2fun commented Jul 25, 2024

Filtering out kubewatch messages using rule:

req.input('eventmeta.kind') == "Pod" &&
req.input('eventmeta.reason') == "Created"

And redefine the payload before forwarding :

{
  "title": "Deploy Updated",
  "message": "{{ req.input('text') }}",
  "priority": 3
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant