diff --git a/apps/issues/base/frontend-service.yaml b/apps/issues/base/frontend-service.yaml index 14dfd0f..fdb438b 100644 --- a/apps/issues/base/frontend-service.yaml +++ b/apps/issues/base/frontend-service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: - name: frontend-service + name: frontend-svc namespace: issues 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 c1487a9..bf11efb 100644 --- a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml +++ b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml @@ -215,6 +215,19 @@ spec: rewrite: / service: frontend-svc.documentations.svc.cluster.local port: 80 + issues-frontend: + name: issues-frontend-virt-service + namespace: gateway + hosts: + - sarex.contour.infra.sarex.tech + gateways: + - gateway/platform-gateway + routes: + - path: + prefix: /issues/static/ + rewrite: / + service: frontend-svc.issues.svc.cluster.local + port: 80 vault: name: vault-virt-service namespace: gateway