Skip to content
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

translate: downgrade translation from v35 to v34 #57

Merged
merged 3 commits into from
Nov 25, 2024

Conversation

yasminvalim
Copy link
Contributor

@yasminvalim yasminvalim commented Nov 8, 2024

In this task, we need to vendor the updates from Ignition's new spec and then implement downgrade logic to transition from version 35 to version 34 and add unit tests for it. For reference, you can check the example provided #41.

@yasminvalim yasminvalim marked this pull request as draft November 8, 2024 15:27
@yasminvalim yasminvalim force-pushed the downgrade-v35-to-v34 branch 2 times, most recently from 114c67d to f46dc44 Compare November 19, 2024 18:25
@yasminvalim yasminvalim force-pushed the downgrade-v35-to-v34 branch 2 times, most recently from bb89cfa to 22455e2 Compare November 22, 2024 13:53
@yasminvalim yasminvalim linked an issue Nov 22, 2024 that may be closed by this pull request
@yasminvalim yasminvalim self-assigned this Nov 22, 2024
@yasminvalim yasminvalim marked this pull request as ready for review November 22, 2024 13:58
Copy link
Contributor

@prestist prestist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From first glance everything makes sense, I have a question, it might just be a copy pasta error, but want to verify.

translate/v35tov34/v35tov34.go Outdated Show resolved Hide resolved
@HuijingHei
Copy link
Member

Sorry that I am a little confused, is there any requirement / context that we should do the downgrade?

@travier
Copy link
Member

travier commented Nov 25, 2024

Sorry that I am a little confused, is there any requirement / context that we should do the downgrade?

If I remember correctly, this is used by the MCO to translate configs as needed to a version that will be understood by a node.

Copy link
Contributor

@prestist prestist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding this, it lgtm.

@yasminvalim yasminvalim merged commit 2f77307 into coreos:main Nov 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

translate: downgrade translation from v35 to v34
4 participants