From 64333a229632e94991c8334169a40e28651f49d1 Mon Sep 17 00:00:00 2001 From: Fabrizio Sestito Date: Mon, 30 Oct 2023 16:52:30 +0100 Subject: [PATCH] test: update e2e tests policy settings Signed-off-by: Fabrizio Sestito --- e2e-tests/test_data/policies.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/e2e-tests/test_data/policies.yaml b/e2e-tests/test_data/policies.yaml index 03a37b59..2485ac32 100644 --- a/e2e-tests/test_data/policies.yaml +++ b/e2e-tests/test_data/policies.yaml @@ -46,7 +46,11 @@ raw-validation: raw-mutation: url: ghcr.io/kubewarden/tests/raw-mutation-policy:v0.1.0 allowedToMutate: true - settings: {} + settings: + forbiddenResources: + - "banana" + - "carrot" + defaultResource: "hay" raw-validation-opa: url: ghcr.io/kubewarden/tests/raw-validation-opa-policy:v0.1.0 @@ -72,3 +76,4 @@ raw-mutation-wasi: forbiddenResources: - "banana" - "carrot" + defaultResource: "hay"