Skip to content

Commit

Permalink
Fix update examples
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Snaps <[email protected]>
  • Loading branch information
alexsnaps committed Oct 24, 2024
1 parent 9fce964 commit 0707d5e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/v1beta3/authconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ spec:

patterns:
admin-path:
- predicate: request.http.path.matches("^/admin(/.*)?$")
- selector: context.request.http.path
operator: matches
value: ^/admin(/.*)?$
resource-path:
- predicate: request.http.path.matches("^/greetings/\d+$")
- selector: context.request.http.path
operator: matches
value: ^/greetings/\d+$

authentication:
k8s-auth:
Expand Down

0 comments on commit 0707d5e

Please sign in to comment.