-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Move inmemory infrastructure API v1beta1 webhooks to separate package #9459
🌱 Move inmemory infrastructure API v1beta1 webhooks to separate package #9459
Conversation
74103e4
to
4942538
Compare
test/infrastructure/inmemory/internal/webhooks/inmemoryclustertemplate_webhook.go
Show resolved
Hide resolved
test/infrastructure/inmemory/internal/webhooks/inmemorymachine_webhook.go
Show resolved
Hide resolved
4942538
to
86ea6e4
Compare
/retest unrelated flake |
No rush at all, but just in case it wasn't intentional I think the last push was only a rebase and didn't address the findings |
d2b8128
to
3719381
Compare
3719381
to
c8d10b4
Compare
Perfect, thx! /lgtm |
LGTM label has been added. Git tree hash: 36361452be7f684d90c99658140f955453678ffe
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
To work towards #9011, we need to remove the reliance on controller-runtime from the API packages.
This updates the webhooks to use the CustomDefaulter and CustomValidator pattern and moves them to match the Cluster and ClusterClass webhooks. This Is a more major lift but removes quite a bit of the code from the API package itself, making it's reliance on controller-runtime a lot smaller.
Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
/area api