From e7089d5bed2308a72180958fd7aef278a2d45874 Mon Sep 17 00:00:00 2001 From: Chandra Keshav Mishra Date: Wed, 24 Jul 2024 13:32:53 +0530 Subject: [PATCH] updated virtualservice to add two match uri's (#335) Signed-off-by: ckm007 --- helm/mimoto/templates/virtualservice.yaml | 4 +++- helm/mimoto/values.yaml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/helm/mimoto/templates/virtualservice.yaml b/helm/mimoto/templates/virtualservice.yaml index 7b5948fa..cdeb4583 100644 --- a/helm/mimoto/templates/virtualservice.yaml +++ b/helm/mimoto/templates/virtualservice.yaml @@ -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: diff --git a/helm/mimoto/values.yaml b/helm/mimoto/values.yaml index f6814220..f110e515 100644 --- a/helm/mimoto/values.yaml +++ b/helm/mimoto/values.yaml @@ -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