From 696fc574a048a443dbc9ba9d9af1036259240f44 Mon Sep 17 00:00:00 2001 From: Matteo Mortari Date: Sun, 19 May 2024 10:14:59 +0200 Subject: [PATCH] fix istio vs for REST API Signed-off-by: Matteo Mortari --- manifests/kustomize/options/istio/virtual-service.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/manifests/kustomize/options/istio/virtual-service.yaml b/manifests/kustomize/options/istio/virtual-service.yaml index e410e6c9..41f17ffe 100644 --- a/manifests/kustomize/options/istio/virtual-service.yaml +++ b/manifests/kustomize/options/istio/virtual-service.yaml @@ -7,14 +7,18 @@ spec: - kubeflow-gateway hosts: - '*' - tcp: + http: - match: - - port: 8080 + - uri: + prefix: /model-registry/ + rewrite: + uri: / route: - destination: host: model-registry-service.kubeflow.svc.cluster.local port: number: 8080 + tcp: - match: - port: 9090 route: