-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add ConversionReview to Kubernetes ApiExtensions Model #3336
Comments
Can I try on this? |
Yes, sure. Here are the steps you need to follow in order to complete this:
|
Pls assign me |
There's no clear path to use these new types from CustomResourceDefinitionSpec#conversion -> Go structs: WebhookConversion#ConversionReviewVersions -> ?? -> ConversionReviewVersions Do you have any example @rohanKanojia ? |
Conversion webhooks for CRDs are launched in the cluster and put behind a Service object, and that service object is referenced by the conversion webhook specification in the CRD manifest. I found these by a quick search on the web(written using client-go): https://github.com/programming-kubernetes/pizza-crd |
ConversionReview, ConversionRequest and ConversionResponse might be used by users who are interested in writing a conversion webhook in order to handle CustomResource conversions from one version to other.
You can find equivalent go struct here: https://github.com/kubernetes/apiextensions-apiserver/blob/master/pkg/apis/apiextensions/v1/types.go#L457
The text was updated successfully, but these errors were encountered: