fluxcd/flagger

Any reference of webhooks where I can call just API without building wrapper around it

sathyanarayanan-s opened this issue · 1 comments

Describe the bug

Is there any reference where we call an API directly from flagger webhooks without building wrapper around it?

All the examples provided in the flagger documentation are having some logics built around how to call a webhook. Is there any way where you can call an API via cURL command directly from webhooks in flagger?

hello, no that's not possible. you need to have a service that receives the webhook and then that service needs to issue the curl command. you can use the flagger-loadtester to achieve this.