From d20e616ac64470ac75f0c9a4b25e42cadf35d1e7 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 12 May 2026 15:35:00 +0500 Subject: [PATCH] ++ --- apps/mapper/base/service.yaml | 4 ++-- .../infrastructure/patches/istio-config.yaml | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/apps/mapper/base/service.yaml b/apps/mapper/base/service.yaml index 2421b02..8eac4e3 100644 --- a/apps/mapper/base/service.yaml +++ b/apps/mapper/base/service.yaml @@ -2,13 +2,13 @@ apiVersion: v1 kind: Service metadata: - name: backend-service + name: backend-svc namespace: mapper spec: type: ClusterIP selector: app: backend ports: - - port: 8000 + - port: 80 targetPort: 8000 protocol: TCP diff --git a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml index 085a29b..9d38658 100644 --- a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml +++ b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml @@ -364,6 +364,19 @@ spec: rewrite: /api/ service: backend-api-svc.documentations.svc.cluster.local port: 80 + mapper-api: + name: mapper-api-virt-service + namespace: gateway + hosts: + - sarex.contour.infra.sarex.tech + gateways: + - gateway/platform-gateway + routes: + - path: + prefix: /documentations/api/ + rewrite: /api/ + service: backend-svc.mapper.svc.cluster.local + port: 80 filestream-api: name: documentations-filestream-virt-service namespace: gateway