kubewatch icon indicating copy to clipboard operation
kubewatch copied to clipboard

Extracting resource name/type/labels for webhook

Open mcrivar opened this issue 4 years ago • 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..)?

mcrivar avatar Dec 16 '20 07:12 mcrivar

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?

aantn avatar Mar 20 '21 08:03 aantn