Skip to content

Commit

Permalink
updated virtualservice to add two match uri's (#335)
Browse files Browse the repository at this point in the history
Signed-off-by: ckm007 <[email protected]>
  • Loading branch information
ckm007 committed Jul 24, 2024
1 parent 46a8e39 commit e7089d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion helm/mimoto/templates/virtualservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
http:
- match:
- uri:
prefix: {{ .Values.istio.prefix }}
prefix: {{ .Values.istio.prefix1 }}
- uri:
prefix: {{ .Values.istio.prefix2 }}
rewrite:
uri: {{ .Values.istio.rewrite }}
route:
Expand Down
3 changes: 2 additions & 1 deletion helm/mimoto/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,8 @@ istio:
gateways:
- istio-system/internal
- istio-system/public
prefix: /residentmobileapp
prefix1: /residentmobileapp
prefix2: /v1/mimoto
rewrite: /v1/mimoto

enable_insecure: false
Expand Down

0 comments on commit e7089d5

Please sign in to comment.