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.
This commit is contained in:
parent
5d5884a1e0
commit
ce64374b4c
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user