update timeout in provider
Closed this issue · 4 comments
sozercan commented
this is configured as 100s, should not be this high
https://github.com/deislabs/ratify/blob/ed76d1419a08490fa2d4ed05b7fc4a57376a5fee/charts/ratify/templates/provider.yaml#L7
susanshi commented
Hi @sozercan , is this is the timeout for ratify to respond to gatekeeper request, we can update this to 8s to align with the validating webhook timeout of 7s. Is 8s reasonable here?
sozercan commented
@susanshi this is timeout for the provider. it should be less than the timeout of webhook so provider returns something back to gatekeeper instead of waiting for the webhook to timeout
akashsinghal commented
We have updated the timeout in provider to match the webhook timeout of 7 seconds configured. Other performance improvements will be tracked using #269