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

Use suc-upgrade to invoke elemental-register upgrade #1627

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

anmazzotti
Copy link
Contributor

@anmazzotti anmazzotti commented Oct 11, 2024

Part of #1565

The entire logic is going to be replaced by elemental-register upgrade. See: rancher/elemental-operator#868

The suc-upgrade wrapper is still needed for backward compatibility, in case older versions of the elemental-operator are tasked to upgrade newer OS images.

If this is the case, we expect no ELEMENTAL_REGISTER_UPGRADE_CORRELATION_ID to be set, and the legacy UPGRADE_RECOVERY and UPGRADE_RECOVERY_ONLY variables need to be supported.

FORCE is no longer supported.

All the other variables were never documented and some of them are hardcoded, so I took the initiative to remove them.
They can easily be added, as the elemental-register upgrade still supports them, like HOST_DIR or CONF_FILE for example.

@anmazzotti anmazzotti requested a review from a team as a code owner October 11, 2024 12:44
@anmazzotti anmazzotti marked this pull request as draft October 11, 2024 12:45
@anmazzotti anmazzotti force-pushed the use_elemental-register_upgrade branch from a228e15 to 29491a7 Compare October 22, 2024 12:13
Signed-off-by: Andrea Mazzotti <[email protected]>
Signed-off-by: Andrea Mazzotti <[email protected]>
@anmazzotti anmazzotti force-pushed the use_elemental-register_upgrade branch from bdf0949 to 6cf7134 Compare October 23, 2024 09:59
Signed-off-by: Andrea Mazzotti <[email protected]>
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.

1 participant