1
0
Fork 0

Support RegularExpression for path matching

This commit is contained in:
Dimitris Mavrommatis 2024-05-23 20:08:03 +02:00 committed by GitHub
parent 0e215f9b61
commit 6e61fe0de1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 30 additions and 1 deletions

View file

@ -68,3 +68,14 @@ spec:
weight: 1
kind: Service
group: ""
- matches:
- path:
type: RegularExpression
value: "^/buzz/[0-9]+$"
backendRefs:
- name: whoami
port: 80
weight: 1
kind: Service
group: ""