From baa37c35121703835d969b4a662120c418bd8672 Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Wed, 30 Oct 2024 09:58:27 -0400 Subject: [PATCH] Fix CEL Signed-off-by: Alex Snaps --- tests/v1beta3/authconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/v1beta3/authconfig.yaml b/tests/v1beta3/authconfig.yaml index b4d86c14..7e783002 100644 --- a/tests/v1beta3/authconfig.yaml +++ b/tests/v1beta3/authconfig.yaml @@ -126,7 +126,7 @@ spec: - predicate: auth.identity["jwt-rbac"] patternMatching: patterns: - - predicate: auth.identity.roles.contains("admin") + - predicate: auth.identity.roles.exists(r, r == "admin") resource-owner: when: - predicate: request.path.matches("^/greetings/\\d+$")