Support RegularExpression for path matching
This commit is contained in:
parent
0e215f9b61
commit
6e61fe0de1
4 changed files with 30 additions and 1 deletions
|
@ -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: ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue