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). If you prefer to use the legacy path under `api`, you can still scaffold webhooks with the `--legacy=true` flag (note: this option is deprecated).