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

This partially reverts commit 94b3348d3c,
as there's more work needed in order to have this one done in a robust
way, and we are taking the safer path of reverting for now, and adding
it back as soon as the release is cut out.

Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
Fabiano Fidêncio 2024-08-21 00:07:20 +02:00
parent 36f4038a89
commit b18c3dfce3
No known key found for this signature in database
GPG Key ID: EE926C2BDACC177B

View File

@ -191,8 +191,12 @@ function deploy_kata() {
fi
if [ "${KATA_HOST_OS}" = "cbl-mariner" ]; then
ALLOWED_HYPERVISOR_ANNOTATIONS="initrd kernel default_vcpus"
HOST_OS=${KATA_HOST_OS}
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"
fi
if [ "${KATA_HYPERVISOR}" = "qemu" ]; then