Add CORS and routes for multiple frontend services in brusnika-prod Istio configuration
This commit is contained in:
parent
3e9b539f45
commit
ef5ae0c01d
@ -556,6 +556,158 @@ spec:
|
|||||||
prefix: /
|
prefix: /
|
||||||
service: nginx-service.global-ingress.svc.cluster.local
|
service: nginx-service.global-ingress.svc.cluster.local
|
||||||
port: 80
|
port: 80
|
||||||
|
projects-frontend:
|
||||||
|
namespace: projects
|
||||||
|
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: /projects/static/
|
||||||
|
rewrite: /
|
||||||
|
service: frontend-service.projects.svc.cluster.local
|
||||||
|
port: 8000
|
||||||
|
transmittal-frontend-static:
|
||||||
|
namespace: transmittal
|
||||||
|
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: /transmittal/static/
|
||||||
|
rewrite: /
|
||||||
|
service: transmittal-frontend-static.transmittal.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
flows-frontend:
|
||||||
|
namespace: flows
|
||||||
|
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: /flows/static/
|
||||||
|
rewrite: /
|
||||||
|
service: frontend-service.flows.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
reviews-frontend:
|
||||||
|
namespace: reviews
|
||||||
|
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: /reviews/static/
|
||||||
|
rewrite: /
|
||||||
|
service: frontend-service.reviews.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
documentation-frontend-static:
|
||||||
|
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
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /documentations/static/
|
||||||
|
rewrite: /
|
||||||
|
service: documentation-frontend-static-service.documentations.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
inspections-frontend:
|
||||||
|
namespace: inspections
|
||||||
|
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: /inspections/static/
|
||||||
|
rewrite: /
|
||||||
|
service: frontend-service.inspections.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
comparisons-static:
|
||||||
|
namespace: comparisons
|
||||||
|
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: /comparisons/static/
|
||||||
|
rewrite: /
|
||||||
|
service: comparisons-service.comparisons.svc.cluster.local
|
||||||
|
port: 8080
|
||||||
|
notes-frontend:
|
||||||
|
namespace: notes
|
||||||
|
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: /notes/static/
|
||||||
|
rewrite: /
|
||||||
|
service: frontend-service.notes.svc.cluster.local
|
||||||
|
port: 8080
|
||||||
issues-vs:
|
issues-vs:
|
||||||
namespace: issues
|
namespace: issues
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user