mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-19 09:51:29 +00:00
Merge pull request #10032 from BbolroC/fix-image-authenticated-for-s390x
tests: Rebuild secure boot image for guest-pull-image-authenticated for IBM SE
This commit is contained in:
commit
d2ac01c862
@ -90,6 +90,15 @@ function create_pod_yaml_with_private_image() {
|
|||||||
"${kernel_params_annotation}" \
|
"${kernel_params_annotation}" \
|
||||||
"${kernel_params_value}"
|
"${kernel_params_value}"
|
||||||
|
|
||||||
|
# A secure boot image for IBM SE should be rebuilt according to the KBS configuration.
|
||||||
|
if [ "${KATA_HYPERVISOR}" == "qemu-se" ]; then
|
||||||
|
if [ -z "${IBM_SE_CREDS_DIR:-}" ]; then
|
||||||
|
>&2 echo "ERROR: IBM_SE_CREDS_DIR is empty"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
repack_secure_image "${kernel_params_value} agent.log=debug" "${IBM_SE_CREDS_DIR}" "true"
|
||||||
|
fi
|
||||||
|
|
||||||
# Set annotation to pull image in guest
|
# Set annotation to pull image in guest
|
||||||
set_metadata_annotation "${kata_pod_with_private_image}" \
|
set_metadata_annotation "${kata_pod_with_private_image}" \
|
||||||
"io.containerd.cri.runtime-handler" \
|
"io.containerd.cri.runtime-handler" \
|
||||||
|
Loading…
Reference in New Issue
Block a user