From f696c0f696257e96b36b1f92bdcbc99315fce9a5 Mon Sep 17 00:00:00 2001 From: huseyindeniz Date: Sun, 9 Feb 2025 23:12:56 +0200 Subject: [PATCH] try installing harbor on management cluster. --- flux/local-management/harbor/virtualservice.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/flux/local-management/harbor/virtualservice.yaml b/flux/local-management/harbor/virtualservice.yaml index b9a921a..234f097 100644 --- a/flux/local-management/harbor/virtualservice.yaml +++ b/flux/local-management/harbor/virtualservice.yaml @@ -9,8 +9,19 @@ spec: gateways: - istio-ingress-gateway http: - - route: + - match: + - uri: + prefix: "/api" + route: - destination: + host: harbor-local-core.harbor.svc.cluster.local + port: + number: 80 + - match: + - uri: + prefix: "/" + route: + - destination: host: harbor-local-portal.harbor.svc.cluster.local port: number: 80