mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-25 11:13:15 +00:00
tests/k8s: enable policy tests for qemu-coco-dev
So qemu-coco-dev is on pair with the TEE configurations. Fixes: #9753 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
83fa813700
commit
3333f8ddfd
@ -266,8 +266,9 @@ set_namespace_to_policy_settings() {
|
||||
policy_tests_enabled() {
|
||||
# The Guest images for these platforms have been built using AGENT_POLICY=yes -
|
||||
# see kata-deploy-binaries.sh.
|
||||
[ "${KATA_HYPERVISOR}" == "qemu-sev" ] || [ "${KATA_HYPERVISOR}" == "qemu-snp" ] || \
|
||||
[ "${KATA_HYPERVISOR}" == "qemu-tdx" ] || [ "${KATA_HOST_OS}" == "cbl-mariner" ]
|
||||
local enabled_hypervisors="qemu-coco-dev qemu-sev qemu-snp qemu-tdx"
|
||||
[[ " $enabled_hypervisors " =~ " ${KATA_HYPERVISOR} " ]] || \
|
||||
[ "${KATA_HOST_OS}" == "cbl-mariner" ]
|
||||
}
|
||||
|
||||
add_allow_all_policy_to_yaml() {
|
||||
|
Loading…
Reference in New Issue
Block a user