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

arm upgrade fix: patch harvester-release.yaml for arm iso builds #932

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ibrokethecloud
Copy link
Contributor

@ibrokethecloud ibrokethecloud commented Jan 17, 2025

Problem:

Currently the harvester iso build includes the kubevirt version from the values.yaml file in the harvester/harvester chart.
During the ARM packaging we patch the kubevirt version to upstream version, to allow correct images to be included in the packaging.

However the changes are reverted before the OS packaging, which results in the harvester-release.yaml containing the values from the amd64 build.

This causes the upgrade to fail as the upgrade helper waits for the kubevirt version to be the one defined in the harvester-release.yaml. This never reconciles as we end up using the amd64 kubevirt patch version which results in an upgrade being stuck.

Solution:

minor changes to allow patching of harvester-release.yaml for ARM builds. This change is needed to ensure correct kubevirt version is included in the harvester-release.yaml. This is essential to ensure the upgrade manifests script can successfully reconcile the kubevirt version with expected version as part of the upgrade process

Related Issue:
harvester/harvester#6257

Test plan:

To test:

  • Install Harvester v1.4.0 on ARM nodes
  • Create a custom version object using the iso built from this change or harvester-master-arm64.iso once the PR is merged
  • Trigger upgrade of Harvester
  • Harvester Upgrade should complete successfully

…lds. This change is needed to ensure correct kubevirt version is included in the harvester-release.yaml. This is essential to ensure the upgrade manifests script can succesfully reconcile the kubevirt version with expected version as part of the upgrade process
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