-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
feat(web-operator): add conversion webhooks #639
Conversation
possible idea: use this version of conversion webhooks and hide them behind https://learn.microsoft.com/en-us/dotnet/api/system.runtime.versioning.requirespreviewfeaturesattribute?view=net-7.0 preview feature attribute. with that, we can let people test the feature and make some breaking changes inside normal versioning. |
4da222e
to
f968e0f
Compare
todo: generate CRD webhook info in CLI |
08b1889
to
e869647
Compare
generating the resources is not really useful now. to attach conversion webhooks to CRDs, I need to generate all resources on the same level or as children. |
e869647
to
cedd6fc
Compare
This closes #137. This adds the preview version of conversion webhooks. The API is not stable yet and changes may happen in the future. They require the preview features flag to be set. BREAKING CHANGE: The CLI (which broke anyway...) does now generate everyting together and determines based on the project if there are webhooks or not. This results in one config folder instead of separate folders for CRD, RBAC, etc. With this, conversion webhooks can inject their configuration into the CRDs. Otherwise, this would be a cumbersome process. If the need for single topic generation arises again (for example only CRDs), then these generators can be added again.
This closes #137. This adds the preview version of conversion webhooks. The API is not stable yet and changes may happen in the future. They require the preview features flag to be set. BREAKING CHANGE: The CLI (which broke anyway...) does now generate everyting together and determines based on the project if there are webhooks or not. This results in one config folder instead of separate folders for CRD, RBAC, etc. With this, conversion webhooks can inject their configuration into the CRDs. Otherwise, this would be a cumbersome process. If the need for single topic generation arises again (for example only CRDs), then these generators can be added again.
This closes #137