Re-enable and configure multiple virtual services in yc-ecp Istio configuration for main-gateway.

This commit is contained in:
emelinda 2026-08-05 02:16:35 +03:00
parent 9da34bb9cc
commit af6135f2b0

View File

@ -225,135 +225,135 @@ spec:
# он должен оставаться последним по порядку сопоставления # он должен оставаться последним по порядку сопоставления
- service: frontend-service.django.svc.cluster.local - service: frontend-service.django.svc.cluster.local
port: 80 port: 80
#
# bim-api-gazpromcps-api-virt-service: bim-api-gazpromcps-api-virt-service:
# namespace: gateway namespace: gateway
# hosts: hosts:
# - aero.invest.sarex.io - aero.invest.sarex.io
# gateways: gateways:
# - gateway/main-gateway - gateway/main-gateway
# cors: cors:
# allowHeaders: allowHeaders:
# - Authorization - Authorization
# - Content-Type - Content-Type
# allowMethods: allowMethods:
# - GET - GET
# - POST - POST
# - PUT - PUT
# - PATCH - PATCH
# - HEAD - HEAD
# - DELETE - DELETE
# routes: routes:
# - path: - path:
# prefix: /bim-gazpromcps/api/ prefix: /bim-gazpromcps/api/
# rewrite: /api/ rewrite: /api/
# service: bim-api-gazpromcps-service.bim.svc.cluster.local service: bim-api-gazpromcps-service.bim.svc.cluster.local
# port: 80 port: 80
# - path: - path:
# prefix: /bim-gazpromcps/files/ prefix: /bim-gazpromcps/files/
# rewrite: /files/ rewrite: /files/
# service: bim-api-gazpromcps-service.bim.svc.cluster.local service: bim-api-gazpromcps-service.bim.svc.cluster.local
# port: 80 port: 80
#
# bim-backend-v2-api-virt-service: bim-backend-v2-api-virt-service:
# namespace: gateway namespace: gateway
# hosts: hosts:
# - aero.invest.sarex.io - aero.invest.sarex.io
# gateways: gateways:
# - gateway/main-gateway - gateway/main-gateway
# cors: cors:
# allowHeaders: allowHeaders:
# - Authorization - Authorization
# - Content-Type - Content-Type
# allowMethods: allowMethods:
# - GET - GET
# - POST - POST
# - PUT - PUT
# - PATCH - PATCH
# - HEAD - HEAD
# - DELETE - DELETE
# routes: routes:
# - path: - path:
# prefix: /bim2-gazpromcps/api/ prefix: /bim2-gazpromcps/api/
# rewrite: /api/ rewrite: /api/
# service: bim-backend-v2-service.bim.svc.cluster.local service: bim-backend-v2-service.bim.svc.cluster.local
# port: 80 port: 80
#
# eav-virt-service: eav-virt-service:
# namespace: gateway namespace: gateway
# hosts: hosts:
# - aero.invest.sarex.io - aero.invest.sarex.io
# gateways: gateways:
# - gateway/main-gateway - gateway/main-gateway
# cors: cors:
# allowHeaders: allowHeaders:
# - Authorization - Authorization
# - Content-Type - Content-Type
# allowMethods: allowMethods:
# - POST - POST
# - GET - GET
# - PATCH - PATCH
# - DELETE - DELETE
# - HEAD - HEAD
# - PUT - PUT
# - OPTIONS - OPTIONS
# routes: routes:
# - path: - path:
# prefix: /eav/api/ prefix: /eav/api/
# rewrite: /api/ rewrite: /api/
# service: eav-service.eav.svc.cluster.local service: eav-service.eav.svc.cluster.local
# port: 8000 port: 8000
# noCors: true noCors: true
# - path: - path:
# prefix: /eav/admin/ prefix: /eav/admin/
# rewrite: /eav/admin/ rewrite: /eav/admin/
# service: eav-service.eav.svc.cluster.local service: eav-service.eav.svc.cluster.local
# port: 8000 port: 8000
#
# api-virt-service: api-virt-service:
# namespace: gateway namespace: gateway
# hosts: hosts:
# - aero.invest.sarex.io - aero.invest.sarex.io
# gateways: gateways:
# - gateway/main-gateway - gateway/main-gateway
# cors: cors:
# allowHeaders: allowHeaders:
# - Authorization - Authorization
# - Content-Type - Content-Type
# allowMethods: allowMethods:
# - GET - GET
# - POST - POST
# - PUT - PUT
# - PATCH - PATCH
# - HEAD - HEAD
# - DELETE - DELETE
# routes: routes:
# - path: - path:
# prefix: /workflows/api/ prefix: /workflows/api/
# rewrite: /api/ rewrite: /api/
# service: workflows-backend-service.processing.svc.cluster.local service: workflows-backend-service.processing.svc.cluster.local
# port: 80 port: 80
#
# projects-frontend-static-virt-service: projects-frontend-static-virt-service:
# namespace: gateway namespace: gateway
# hosts: hosts:
# - aero.invest.sarex.io - aero.invest.sarex.io
# gateways: gateways:
# - gateway/main-gateway - gateway/main-gateway
# cors: cors:
# allowHeaders: allowHeaders:
# - Authorization - Authorization
# - Content-Type - Content-Type
# allowMethods: allowMethods:
# - GET - GET
# - POST - POST
# - PUT - PUT
# - PATCH - PATCH
# - HEAD - HEAD
# - DELETE - DELETE
# routes: routes:
# - path: - path:
# prefix: /projects/static/ prefix: /projects/static/
# rewrite: / rewrite: /
# service: projects-frontend-static-service.projects.svc.cluster.local service: projects-frontend-static-service.projects.svc.cluster.local
# port: 80 port: 80