Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Extracting resource name/type/labels for webhook #252

Open
mcrivar opened this issue Dec 16, 2020 · 1 comment
Open

Extracting resource name/type/labels for webhook #252

mcrivar opened this issue Dec 16, 2020 · 1 comment

Comments

@mcrivar
Copy link

mcrivar commented Dec 16, 2020

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
Copy link

aantn commented Mar 20, 2021

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants