diff --git a/scripts/hack/patch-harvester-chart b/scripts/hack/patch-harvester-chart index 900c6a88c..7409e4f7d 100644 --- a/scripts/hack/patch-harvester-chart +++ b/scripts/hack/patch-harvester-chart @@ -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} } \ No newline at end of file