-
Notifications
You must be signed in to change notification settings - Fork 157
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
Validating Webhook Hardening #1500
Comments
Thanks for opening this issue 👍. The team will review it shortly. If this is a bug report, make sure to include clear instructions how on to reproduce the problem with minimal reproducible examples, where possible. If this is a security report, please review our security policy as outlined in SECURITY.md. If you haven't already, please take a moment to review our project's Code of Conduct document. |
Thanks for opening this issue! I would like to add #1345 to the list of things we should fix. |
@muffl0n how do you normally deploy Kanister? Like |
We use Helmfile and do automatic runs on git changes:
So there is a pseudo change reported for the certificate for branches and there is a change of the certificate for every run for main. |
This issue is marked as stale due to inactivity. Add a new comment to reactivate it. |
Valid |
The validating webhook should be deployed as its own workload, in order to decouple its lifecycle, operation and maintenance from that of the controller. This decoupling will allow us to scale the controller and (future) webhooks separately.
The webhook should definitely not share the same endpoint as the controller's health check and metrics endpoint, to ensure that its probe failures don't cause K8s to restart the controller, and vice versa.
The webhook should be made a required component so that no bad inputs can be passed to the Kanister controller. To accommodate for CI testing or downstream variations, the
ValidatingWebhookConfiguration
YAML manifest can be updated with thefailurePolicy
property set toIgnore
.The text was updated successfully, but these errors were encountered: