diff --git a/apps/documentations/base/frontend-service.yaml b/apps/documentations/base/frontend-service.yaml index f4ad089..3b8eb8d 100644 --- a/apps/documentations/base/frontend-service.yaml +++ b/apps/documentations/base/frontend-service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: - name: frontend-service + name: frontend-svc namespace: documentations 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 f5d577a..7e72cd4 100644 --- a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml +++ b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml @@ -202,6 +202,18 @@ spec: prefix: /gateway/ service: pdm-svc.documentations.svc.cluster.local port: 80 + documentations-frontend: + name: documentations-frontend-virt-service + namespace: gateway + hosts: + - sarex.contour.infra.sarex.tech + gateways: + - gateway/platform-gateway + routes: + - path: + prefix: /documentations/static/ + service: frontend-svc.documentations.svc.cluster.local + port: 80 vault: name: vault-virt-service namespace: gateway