-
Notifications
You must be signed in to change notification settings - Fork 462
Ignition spec v2/v3 dual support #1703
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
Ignition spec v2/v3 dual support #1703
Conversation
|
I'll work on fixing |
ea4536d to
260d16d
Compare
|
/test e2e-gcp-op |
|
/retest |
1 similar comment
|
/retest |
|
Seems we're hitting https://bugzilla.redhat.com/show_bug.cgi?id=1815799 here |
|
/retest |
1 similar comment
|
/retest |
260d16d to
d2ffee7
Compare
|
/retest |
d2ffee7 to
3cfbc47
Compare
|
/retest |
3cfbc47 to
4d21619
Compare
|
/test e2e-metal-ipi |
|
/test e2e-aws |
|
Looks like this code works in OCP. The last commit is optional -- the migration of the types used internally to spec v3.1 is not strictly necessary at this time as the MCS only supports a subset of Ignition anyway. For this to work with OKD on GCP, the gcp-routes script needs to be moved into the MCO first (#1670) |
|
/test e2e-metal-ipi |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/hold whoops there was a merge conflict |
Also update ign-converter for spec v3.1 to v2.2 translation
Changes the IgnParseWrapper function to translate to and output Ignition spec v2.2 config. Use the function everywhere instead of the Ignition spec v2.2 parser to allow consuming spec v3.0 and v3.1 config.
Makes the MCS aware of what config specification it has to serve to the requesting machine. If required and supported, the response configuration is translated to a version supported by the requesting node. Adds a convertIgnition3to2 helper function to the controller's common helpersfor translating spec v3.1 Ignition config to v2.2 , as well as a ConvertRawExtIgnition2to3 function to easily convert configs from spec v2.2 to 3.1 in the RawExtension format.
eacf9b5 to
7262fe6
Compare
|
rebased. should be good to go now, just needs another |
|
/lgtm |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
yuqi-zhang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm cancel
|
/approve sorry for the noise |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LorbusChris, yuqi-zhang The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@LorbusChris: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
- What I did
- How to verify it
- Description for the changelog
Added Ignition spec v2/v3 dual support
/cc @runcom @yuqi-zhang @ashcrow