tests: remove add_allow_all_policy_to_yaml call from helper func

add_allow_all_policy_to_yaml now also sets the initdata annotation. So don't overwrite the
initdata annotation that was previously set by create_coco_pod_yaml_with_annotations.

Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
This commit is contained in:
Saul Paredes
2025-09-09 16:35:31 -07:00
parent cc73b14e26
commit e3e406ff26

View File

@@ -208,8 +208,6 @@ function create_coco_pod_yaml_with_annotations() {
"${cc_initdata_annotation_key}" \
"${cc_initdata_annotation_value}"
add_allow_all_policy_to_yaml "${kata_pod}"
if [ -n "$node" ]; then
set_node "${kata_pod}" "$node"
fi