mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-09 03:48:05 +00:00
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:
parent
057612f18f
commit
424347bf0e
@ -191,12 +191,8 @@ function deploy_kata() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${KATA_HOST_OS}" = "cbl-mariner" ]; then
|
if [ "${KATA_HOST_OS}" = "cbl-mariner" ]; then
|
||||||
yq -i \
|
ALLOWED_HYPERVISOR_ANNOTATIONS="initrd kernel default_vcpus"
|
||||||
'.spec.template.spec.containers[0].env[6].value = "initrd kernel default_vcpus"' \
|
HOST_OS=${KATA_HOST_OS}
|
||||||
"${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
|
fi
|
||||||
|
|
||||||
if [ "${KATA_HYPERVISOR}" = "qemu" ]; then
|
if [ "${KATA_HYPERVISOR}" = "qemu" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user