I want to set up a webhook trigger in tekton. In the documentation, I can find Github, Gitlab and bitbucket triggers available. But I want a generic webhook that processes HTTP POST and reads the JSON body.
For example: I am doing the following with Jenkins' generic webhook trigger.
Prometheus Alertmanager sends a HTTP POST to Jenkins' Generic webhook and Jenkins processes the JSON body and kicks off the build.
I want to the same with Tekton. Alertmanager sends a HTTP POST to the Tekton webhook and it would process the JSON body and kick off the build.
Is this doable with Tekton's webhook trigger? Is this not available yet in tekton or am i missing something form the documentation?
If someone has already done this, can you point me in the right direction? I am using openshift 4.5