istio-config: route /orchestrator/ to cde in vad and uralkal
Same cde-api virtual service as d8-ugmk-prod: /orchestrator/api/process/, /orchestrator/api/sign and /orchestrator/ are rewritten to /api/... and sent to cde-svc.cde.svc.cluster.local:80.
This commit is contained in:
parent
b14783ad36
commit
b6aca0dc88
@ -388,6 +388,29 @@ spec:
|
||||
rewrite: /eav/admin/
|
||||
service: backend-svc.eav.svc.cluster.local
|
||||
port: 80
|
||||
cde-api:
|
||||
name: cde-api-virt-service
|
||||
namespace: default
|
||||
hosts:
|
||||
- sarex.local.uralkali.com
|
||||
gateways:
|
||||
- default/platform-gateway
|
||||
routes:
|
||||
- path:
|
||||
prefix: /orchestrator/api/process/
|
||||
rewrite: /api/process/
|
||||
service: cde-svc.cde.svc.cluster.local
|
||||
port: 80
|
||||
- path:
|
||||
prefix: /orchestrator/api/sign
|
||||
rewrite: /api/sign
|
||||
service: cde-svc.cde.svc.cluster.local
|
||||
port: 80
|
||||
- path:
|
||||
prefix: /orchestrator/
|
||||
rewrite: /api/
|
||||
service: cde-svc.cde.svc.cluster.local
|
||||
port: 80
|
||||
srx-admin-frontend:
|
||||
name: srx-admin-frontend-virt-service
|
||||
namespace: default
|
||||
|
||||
@ -386,6 +386,29 @@ spec:
|
||||
rewrite: /eav/admin/
|
||||
service: backend-svc.eav.svc.cluster.local
|
||||
port: 80
|
||||
cde-api:
|
||||
name: cde-api-virt-service
|
||||
namespace: default
|
||||
hosts:
|
||||
- sarex.vadroad.ru
|
||||
gateways:
|
||||
- default/platform-gateway
|
||||
routes:
|
||||
- path:
|
||||
prefix: /orchestrator/api/process/
|
||||
rewrite: /api/process/
|
||||
service: cde-svc.cde.svc.cluster.local
|
||||
port: 80
|
||||
- path:
|
||||
prefix: /orchestrator/api/sign
|
||||
rewrite: /api/sign
|
||||
service: cde-svc.cde.svc.cluster.local
|
||||
port: 80
|
||||
- path:
|
||||
prefix: /orchestrator/
|
||||
rewrite: /api/
|
||||
service: cde-svc.cde.svc.cluster.local
|
||||
port: 80
|
||||
srx-admin-frontend:
|
||||
name: srx-admin-frontend-virt-service
|
||||
namespace: default
|
||||
|
||||
Loading…
Reference in New Issue
Block a user