-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separate webhooks from the api types package
coupling api/ type packages with webhook by implementing webhook.Validator interface is, in hindsight, a bad design since api types are frequently imported in other projects and should therefore be as minimal as possible. The issue is discussed in kubernetes-sigs/controller-runtime#2596. B/c of that, webhook.Validator and webhook.Defaulter interfaces are deprecated from controller-runtime and removed in v0.20 Moving webhooks to a separate package allows repos that import api/v1beta1 to upgrade controller-runtime to v0.20, and also prepares capdo for controller-runtime v0.20 upgrade Signed-off-by: dkomsa <[email protected]>
- Loading branch information
1 parent
59eae28
commit d1d8918
Showing
7 changed files
with
205 additions
and
142 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.