diff --git a/apps/flows/base/frontend-service.yaml b/apps/flows/base/frontend-service.yaml index 3157655..560deee 100644 --- a/apps/flows/base/frontend-service.yaml +++ b/apps/flows/base/frontend-service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: - name: frontend-service + name: frontend-svc namespace: flows spec: type: ClusterIP diff --git a/apps/reviews/base/service.yaml b/apps/reviews/base/service.yaml index 1e0c511..9acd592 100644 --- a/apps/reviews/base/service.yaml +++ b/apps/reviews/base/service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: - name: frontend-service + name: frontend-svc namespace: reviews spec: type: ClusterIP diff --git a/apps/rfi/base/frontend-service.yaml b/apps/rfi/base/frontend-service.yaml index d269afb..deaf506 100644 --- a/apps/rfi/base/frontend-service.yaml +++ b/apps/rfi/base/frontend-service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: - name: frontend-service + name: frontend-svc namespace: rfi spec: type: ClusterIP diff --git a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml index bf11efb..2bc349f 100644 --- a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml +++ b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml @@ -228,6 +228,45 @@ spec: rewrite: / service: frontend-svc.issues.svc.cluster.local port: 80 + flows-frontend: + name: flows-frontend-virt-service + namespace: gateway + hosts: + - sarex.contour.infra.sarex.tech + gateways: + - gateway/platform-gateway + routes: + - path: + prefix: /flows/static/ + rewrite: / + service: frontend-svc.flows.svc.cluster.local + port: 80 + reviews-frontend: + name: reviews-frontend-virt-service + namespace: gateway + hosts: + - sarex.contour.infra.sarex.tech + gateways: + - gateway/platform-gateway + routes: + - path: + prefix: /reviews/static/ + rewrite: / + service: frontend-svc.reviews.svc.cluster.local + port: 80 + rfi-frontend: + name: rfi-frontend-virt-service + namespace: gateway + hosts: + - sarex.contour.infra.sarex.tech + gateways: + - gateway/platform-gateway + routes: + - path: + prefix: /rfi/static/ + rewrite: / + service: frontend-svc.rfi.svc.cluster.local + port: 80 vault: name: vault-virt-service namespace: gateway