Add CORS and routes for cde, pdm-api-api, and documentations services in brusnika-prod Istio configuration
This commit is contained in:
parent
bb144b1563
commit
bee959edee
@ -966,6 +966,75 @@ spec:
|
|||||||
prefix: /administration/users
|
prefix: /administration/users
|
||||||
service: frontend-service.django.svc.cluster.local
|
service: frontend-service.django.svc.cluster.local
|
||||||
port: 80
|
port: 80
|
||||||
|
cde:
|
||||||
|
namespace: orchestrator
|
||||||
|
hosts:
|
||||||
|
- cde.brusnika.ru
|
||||||
|
gateways:
|
||||||
|
- ingress-nginx/global-cde-gw
|
||||||
|
cors:
|
||||||
|
allowOrigins:
|
||||||
|
- exact: https://cde.brusnika.ru
|
||||||
|
- exact: https://stamp-verification.cde.brusnika.ru
|
||||||
|
- exact: https://document-link.cde.brusnika.ru
|
||||||
|
extraAllowMethods:
|
||||||
|
- HEAD
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /orchestrator/
|
||||||
|
rewrite: /api/
|
||||||
|
service: cde.orchestrator.svc.cluster.local
|
||||||
|
port: 8080
|
||||||
|
pdm-api-api:
|
||||||
|
namespace: documentations
|
||||||
|
hosts:
|
||||||
|
- cde.brusnika.ru
|
||||||
|
gateways:
|
||||||
|
- ingress-nginx/global-cde-gw
|
||||||
|
cors:
|
||||||
|
allowOrigins:
|
||||||
|
- exact: https://cde.brusnika.ru
|
||||||
|
- exact: https://stamp-verification.cde.brusnika.ru
|
||||||
|
- exact: https://document-link.cde.brusnika.ru
|
||||||
|
extraAllowMethods:
|
||||||
|
- HEAD
|
||||||
|
headers:
|
||||||
|
request:
|
||||||
|
remove:
|
||||||
|
- Cookie
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /gateway/api/
|
||||||
|
rewrite: /api/
|
||||||
|
service: pdm-api.documentations.svc.cluster.local
|
||||||
|
port: 8080
|
||||||
|
documentations:
|
||||||
|
namespace: documentations
|
||||||
|
hosts:
|
||||||
|
- cde.brusnika.ru
|
||||||
|
gateways:
|
||||||
|
- ingress-nginx/global-cde-gw
|
||||||
|
cors:
|
||||||
|
allowOrigins:
|
||||||
|
- exact: https://cde.brusnika.ru
|
||||||
|
- exact: https://stamp-verification.cde.brusnika.ru
|
||||||
|
- exact: https://document-link.cde.brusnika.ru
|
||||||
|
extraAllowMethods:
|
||||||
|
- HEAD
|
||||||
|
extraAllowHeaders:
|
||||||
|
- Range
|
||||||
|
- Cache-Control
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /documentations/api/
|
||||||
|
rewrite: /api/
|
||||||
|
service: documentations-api.documentations.svc.cluster.local
|
||||||
|
port: 8080
|
||||||
|
- path:
|
||||||
|
prefix: /files/api/
|
||||||
|
rewrite: /api/
|
||||||
|
service: documentations-filestream.documentations.svc.cluster.local
|
||||||
|
port: 8080
|
||||||
issues-vs:
|
issues-vs:
|
||||||
namespace: issues
|
namespace: issues
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user