diff --git a/apps/eav/base/backend-service.yaml b/apps/eav/base/backend-service.yaml index 963c3f4..d5f5ec3 100644 --- a/apps/eav/base/backend-service.yaml +++ b/apps/eav/base/backend-service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: - name: backend-service + name: backend-svc namespace: eav spec: type: ClusterIP @@ -10,6 +10,6 @@ spec: app: backend ports: - name: http - 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 3d0ea33..4b9e87b 100644 --- a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml +++ b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml @@ -229,6 +229,19 @@ spec: rewrite: / service: frontend-svc.control-interface.svc.cluster.local port: 80 + eav-api: + name: eav-api-virt-service + namespace: gateway + hosts: + - sarex.contour.infra.sarex.tech + gateways: + - gateway/platform-gateway + routes: + - path: + prefix: /eav/api/ + rewrite: /api/ + service: backend-svc.eav.svc.cluster.local + port: 80 documentations-frontend: name: documentations-frontend-virt-service namespace: gateway