-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add webhook timeout values #890
Conversation
Signed-off-by: falcorocks <[email protected]>
07c910c
to
e3ef902
Compare
Signed-off-by: falcorocks <[email protected]>
e2d6a8c
to
b4d18f4
Compare
Signed-off-by: falcorocks <[email protected]>
Signed-off-by: falcorocks <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change default to 0.12.0 as it's latest release
"default": "sha256:f291fce5b9c1a69ba54990eda7e0fe4114043b1afefb0f4ee3e6f84ec9ef1605", | ||
"description": "crane digest ghcr.io/sigstore/policy-controller/policy-controller:v0.8.2", | ||
"default": "sha256:f3b57d4c906fcbd7229c3069c055ce2b2862e01106c2b85df1322f1e3a232829", | ||
"description": "crane digest ghcr.io/sigstore/policy-controller/policy-controller:v0.11.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"description": "crane digest ghcr.io/sigstore/policy-controller/policy-controller:v0.11.0", | |
"description": "crane digest ghcr.io/sigstore/policy-controller/policy-controller:v0.12.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: falcorocks <[email protected]>
thank you @hectorj2f @bobcallaway ! |
Description of the change
Adds optional timeout values. The chart creates 4 webhook configuration objects (2
ValidatingWebhookConfiguration
and 2MutatingWebhookConfiguration
. These are all created with the defaulttimeoutSeconds
(docs) set to 10s. In some cases this is excessive (Kuberentes docs recommend this value to be as short as possible). In other cases user experience the need for longer timeouts, up to 20 seconds. This PR allows users to specify a specific timeout for each of the 4 configurations.Existing or Associated Issue(s)
see for instance https://sigstore.slack.com/archives/C03096V09F1/p1737372057769759
Additional Information
Checklist
Chart.yaml
according to semver. Where applicable, update and bump the versions in any associated umbrella chartvalues.yaml
and added to the README.md. The helm-docs utility can be used to generate the necessary content. Usehelm-docs --dry-run
to preview the content.ct lint
command.