kubebuilder icon indicating copy to clipboard operation
kubebuilder copied to clipboard

move webhooks away from api folder

Open malt3 opened this issue 2 years ago • 6 comments
trafficstars

What do you want to happen?

This may be seen as an extension to #2627. I want projects to not place webhook handlers and envtests in the api folder.

Instead, webhooks should be moved into the controllers folder (or into a completely separate folder). This allows external projects to import the api module without importing envtest libraries.

Extra Labels

No response

malt3 avatar Feb 10 '23 16:02 malt3