mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-18 07:18:27 +00:00
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:
@@ -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" {
|
||||
|
Reference in New Issue
Block a user