From 833ab06c091ddc30acbaafe04fea108ddb6ec288 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 24 Apr 2026 15:18:42 +0500 Subject: [PATCH] ++ --- apps/documentations/base/pdm-deployment.yaml | 2 +- apps/resources/base/backend-service.yaml | 4 ++-- .../infrastructure/patches/istio-config.yaml | 12 ++++++++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/apps/documentations/base/pdm-deployment.yaml b/apps/documentations/base/pdm-deployment.yaml index d2c9fb3..7f4fc6e 100644 --- a/apps/documentations/base/pdm-deployment.yaml +++ b/apps/documentations/base/pdm-deployment.yaml @@ -143,7 +143,7 @@ spec: - name: REMARKS_URL value: http://remarks-static-service.remarks.svc.cluster.local:8080/remarks - name: RESOURCES_URL - value: http://resources-service.resources.svc.cluster.local:8000 + value: http://backend-svc.resources.svc.cluster.local:80 - name: S3_SERVICE_ACCOUNT value: /vault/secrets/documentations-s3-account-json - name: STATES_URL diff --git a/apps/resources/base/backend-service.yaml b/apps/resources/base/backend-service.yaml index 1215014..99764c6 100644 --- a/apps/resources/base/backend-service.yaml +++ b/apps/resources/base/backend-service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: - name: backend-service + name: backend-svc namespace: resources 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 c77e1f7..f5d577a 100644 --- a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml +++ b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml @@ -190,6 +190,18 @@ spec: prefix: / service: frontend-svc.django.svc.cluster.local port: 80 + gateway-platform: + name: pdm-virt-service + namespace: gateway + hosts: + - sarex.contour.infra.sarex.tech + gateways: + - gateway/platform-gateway + routes: + - path: + prefix: /gateway/ + service: pdm-svc.documentations.svc.cluster.local + port: 80 vault: name: vault-virt-service namespace: gateway