From e627cfe4d54f1d9d073eb9c2502e6beece7e5e91 Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Fri, 25 Oct 2024 07:46:46 -0400 Subject: [PATCH] Fix cel predicate Signed-off-by: Alex Snaps --- tests/v1beta3/authconfig.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/v1beta3/authconfig.yaml b/tests/v1beta3/authconfig.yaml index 76d7a470..4174569c 100644 --- a/tests/v1beta3/authconfig.yaml +++ b/tests/v1beta3/authconfig.yaml @@ -126,14 +126,14 @@ spec: admin-kubernetes-rbac: when: - patternRef: admin-path - - predicate: auth.identity.kubernetes-rbac + - predicate: auth.identity["kubernetes-rbac"] kubernetesSubjectAccessReview: user: expression: auth.identity.username admin-jwt-rbac: when: - patternRef: admin-path - - predicate: auth.identity.jwt-rbac + - predicate: auth.identity["jwt-rbac"] patternMatching: patterns: - predicate: auth.identity.roles.exists("admin")