#arvindkgs-webhook

1 messages · Page 1 of 1 (latest)

silent yew
wet heart
#

Okay, I checked these APIs but I don't see a way to retrieve. the secret

#

secret is returned for a webhook only on creation

#

is my understanding correct?

silent yew
#

correct.

#

because it is sensitive information, it is not retrievable

wet heart
#

I have multiple kubernetes namespaces, each one has a unique webhook. So I am automating registration of webhooks

#

But I have no way of checking and retrieving the signature of the webhook if it was already registered

#

Can I delete the webhook when a new namespace come up? Then I can recreate the webhook?

#

That way I can obtain the signature for the webhook

silent yew
#

beware there will be a limit on number of webhook you can create, i think it is 16

#

why you have to create multiple webhook per kubernetes namespaces,

#

are they designed to listen to different event types?

wet heart
#

no, each namespace is tied to a different Stripe account

#

While we have one Production account, we have multiple non production stripe accounts for e2e tests, staging

silent yew
#

I guess you can delete all the webhook and recreate each time for testing

wet heart
#

okay thank you