-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Using conversion-gen with multi-versioning #1529
Comments
faced similar issue. writing that logic is too much error-prone. Appreciate any help |
This was the approach we took recently, it amounted to:
When we implemented
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Shows that it was sorted out, so I am closing this one. however, please feel free to raise new issues and/or contributing to the project as well, for example, by raising a PR with a doc for that. |
@camilamacedo86 Has this made it into the tool or any of the documentation? I've been trying to figure out how to do this for a few days now and a simple example would be incredibly helpful. |
Hi folks,
I have been wondering if there is an effective means for using conversion-gen to generate the conversions for the "rote conversions" as described at https://book.kubebuilder.io/multiversion-tutorial/conversion.html . It is of course possible to write up all conversions copying over most of the unchanged src spec to the dest but can get tedious (leading to typos !) with large CRDs with structure and repetitions across multiple versions. I did not see the multi-version examples use conversion-gen but it sounds like the tool that might help here. I am assuming other have been down this path. Thanks for any suggestions to make this simpler !
The text was updated successfully, but these errors were encountered: