Skip to content

Commit

Permalink
patch emulatedMachines
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrokethecloud committed Oct 21, 2024
1 parent f585b03 commit 02cb524
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/hack/patch-harvester-chart
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ patch_harvester_chart(){
local harvester_chart_dir=$1
local values_file="${harvester_chart_dir}/values.yaml"
sed -ie "s/${kubevirt_amd_registry}/${kubevirt_arm_registry}/g" ${values_file}
# drop emulatedMachines from harvester chart
yq -i 'del(.kubevirt.spec.configuration.emulatedMachines)' ${values_file}
version=${kubevirt_arm_version} yq -i '.kubevirt-operator.containers.operator.image.tag = env(version)' ${values_file}
}

0 comments on commit 02cb524

Please sign in to comment.