-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update kubevirt for arm builds, load dm_crypt kernel module
patch emulatedMachines
- Loading branch information
1 parent
f8a05d7
commit b85cf7c
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name: "load kernel modules" | ||
stages: | ||
boot: | ||
- name: "load dm_crypt" | ||
commands: | ||
- modprobe dm_crypt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
#!/bin/bash | ||
|
||
patch_harvester_chart(){ | ||
local kubevirt_arm_version="v1.1.0" | ||
local kubevirt_arm_version="v1.2.2" | ||
local kubevirt_arm_registry="quay.io\/kubevirt" | ||
local kubevirt_amd_registry="registry.suse.com\/suse\/sles\/15.5" | ||
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} | ||
} |