tests: k8s-volume.bats allow all policy

Use the "allow all" policy for k8s-volume.bats, instead of relying
on the Kata Guest image to use the same policy as its default.

Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
Dan Mihai
2024-04-02 19:40:07 +00:00
parent 04085d8442
commit 5dcf64ef34

View File

@@ -26,6 +26,7 @@ setup() {
sed -e "s|tmp_data|${tmp_file}|g" ${pod_config_dir}/pv-volume.yaml > "$pv_yaml"
sed -e "s|NODE|${node}|g" "${pod_config_dir}/pv-pod.yaml" > "$pod_yaml"
add_allow_all_policy_to_yaml "${pod_yaml}"
}
@test "Create Persistent Volume" {