-
Notifications
You must be signed in to change notification settings - Fork 289
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
Filter Events by JSONPATH #559
Comments
I am looking for exactly the same solution. I want to receive messages only if the backup status is not "Completed". |
Hi, |
Hi,
|
Hey, |
resources:
Hi,
I'm watching my velero backups with botkube. I'd like to have only failures, or partial failures notifications.
I would like to be able to specify a field in the object, by its jsonpath, for example, and the values I want (or do not want) notifications for.
Currently, I can only filter by the CRUD kind of the event. So for a backup, I have CREATE (when the kubernetes object is created), and several updates. Failures and successes are notified the same way.
This would be great also to watch sealedsecret being unsuccessfully unsealed. With a jsonpath filter, in the yaml config file, it would be veeery easy to do great things.
ex for velero:
This would only send notifications for UPDATE event when the field status.phase is not "Completed".
The text was updated successfully, but these errors were encountered: