Skip to content

Best practice to support multiple conversion webhook #2889

Closed Answered by camilamacedo86
LittleWat asked this question in Support
Discussion options

You must be logged in to vote

Hi @LittleWat,

The K8s docs try to cover it, see:

Also, as you saw we try to provide an example in the tutorial with: https://book.kubebuilder.io/multiversion-tutorial/tutorial.html

It would be easy(?) to do the conversion in steps - convert v1alpha1 to v1alpha2, and then call the v1alpha2->v1alpha3.
But the following document seems to tell us that we should support v1alpha1=>v1alpha3 and v1alpha1=>v1alpha3 conversions

If you have a project version that…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@LittleWat
Comment options

Answer selected by LittleWat
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants