Skip to content
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

Webhook and validation migration required #4381

Open
theunrepentantgeek opened this issue Oct 25, 2024 · 0 comments
Open

Webhook and validation migration required #4381

theunrepentantgeek opened this issue Oct 25, 2024 · 0 comments
Labels
high-priority Issues we intend to prioritize (security, outage, blocking bug) technical-debt 📈
Milestone

Comments

@theunrepentantgeek
Copy link
Member

The release notes for the latest version of Kubebuilder include this:

This release introduces significant changes, especially for projects using webhooks.
Notably, the webhook.Validator and webhook.Defaulter interfaces are deprecated and will be removed in the next controller-runtime release (v0.20.0).
Please migrate to the new CustomValidator and CustomDefaulter interfaces.
Additionally, webhooks should now be placed in the internal/webhook directory. (You might want to see the webhooks implementation for the Cronjob Tutorial Sample)

We should look into doing this in our own time, so we're not facing time pressures by a critical update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high-priority Issues we intend to prioritize (security, outage, blocking bug) technical-debt 📈
Projects
Development

No branches or pull requests

2 participants