vmware-archive/kubewatch

Extracting resource name/type/labels for webhook

Opened this issue · 1 comments

Hi, I wanted to know if its possible to extract some parameters from the resource I have the listener setup to.
e.g callback for the resource type/name/labels/action/namespace and use them as parameters to the executed webhook(url/slack..)?

aantn commented

Not the maintainer, but I'm working on a PR for this. Right now I'm sending the whole resource as json. What is your usecase and does adding the entire resource to the json send to the webhook help?