From ce64374b4c750dc80db7aecf0648580634acaa9f Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 14 Oct 2026 14:48:42 +0500 Subject: [PATCH] brusnika-stage: orchestrator routes like vad /orchestrator/api/process/, /orchestrator/api/sign and /orchestrator/ are rewritten to /api/... before reaching cde.orchestrator:8080, same rules as the cde-api virtual service in vad. Replaces the single prefix route that passed the path through unchanged. --- .../istio-config/brusnika-stage/istio-config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/infrastructure/istio-config/brusnika-stage/istio-config.yaml b/infrastructure/istio-config/brusnika-stage/istio-config.yaml index 30fff9d..898a27f 100644 --- a/infrastructure/istio-config/brusnika-stage/istio-config.yaml +++ b/infrastructure/istio-config/brusnika-stage/istio-config.yaml @@ -671,8 +671,19 @@ spec: allowOrigins: - regex: ".*" routes: + - path: + prefix: /orchestrator/api/process/ + rewrite: /api/process/ + service: cde.orchestrator.svc.cluster.local + port: 8080 + - path: + prefix: /orchestrator/api/sign + rewrite: /api/sign + service: cde.orchestrator.svc.cluster.local + port: 8080 - path: prefix: /orchestrator/ + rewrite: /api/ service: cde.orchestrator.svc.cluster.local port: 8080 global-test-vs: