Skip to content

Commit

Permalink
Merge pull request kata-containers#9754 from wainersm/qemu_coco_dev-e…
Browse files Browse the repository at this point in the history
…nable_policy_tests

tests/k8s: enable policy tests for qemu-coco-dev
  • Loading branch information
wainersm committed May 31, 2024
2 parents 7886ed6 + 3333f8d commit f093c4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/integration/kubernetes/tests_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f093c4c

Please sign in to comment.