Reapply "kata-deploy: Add Helm Chart" (partially)

This reverts commit b18c3dfce3, as the
pacthes for helm are coming as part of this series.

Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
Fabiano Fidêncio 2024-08-21 11:44:27 +02:00
parent 057612f18f
commit 424347bf0e

View File

@ -191,12 +191,8 @@ function deploy_kata() {
fi
if [ "${KATA_HOST_OS}" = "cbl-mariner" ]; then
yq -i \
'.spec.template.spec.containers[0].env[6].value = "initrd kernel default_vcpus"' \
"${tools_dir}/packaging/kata-deploy/kata-deploy/base/kata-deploy.yaml"
yq -i \
".spec.template.spec.containers[0].env += [{\"name\": \"HOST_OS\", \"value\": \"${KATA_HOST_OS}\"}]" \
"${tools_dir}/packaging/kata-deploy/kata-deploy/base/kata-deploy.yaml"
ALLOWED_HYPERVISOR_ANNOTATIONS="initrd kernel default_vcpus"
HOST_OS=${KATA_HOST_OS}
fi
if [ "${KATA_HYPERVISOR}" = "qemu" ]; then