Skip to content

Commit

Permalink
Fix cel predicate
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Snaps <[email protected]>
  • Loading branch information
alexsnaps committed Oct 25, 2024
1 parent adb07cf commit e627cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/v1beta3/authconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e627cfe

Please sign in to comment.