tests: k8s: policy: improve settings selection for runtime-rs hypervisors

"cloud-hypervisor" is also a runtime-rs hypervisor. So we need to include it in the settings selection logic.

Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
This commit is contained in:
Saul Paredes
2026-04-21 10:16:54 -07:00
parent baf0f16804
commit cafdd278ba

View File

@@ -127,7 +127,7 @@ get_kubelet_data_dir() {
}
is_runtime_rs() {
[[ "${KATA_HYPERVISOR}" == *-runtime-rs ]]
[[ "${KATA_HYPERVISOR}" == *-runtime-rs || "${KATA_HYPERVISOR}" == "cloud-hypervisor" ]]
}
# Copy the right combination of drop-ins from drop-in-examples/ into