diff --git a/apps/control-interface/base/service.yaml b/apps/control-interface/base/service.yaml index 64e2bf5..d7c0c1d 100644 --- a/apps/control-interface/base/service.yaml +++ b/apps/control-interface/base/service.yaml @@ -2,13 +2,13 @@ apiVersion: v1 kind: Service metadata: - name: srx-admin-svc + name: frontend-svc namespace: control-interface spec: type: ClusterIP selector: app: srx-admin ports: - - port: 8080 + - port: 80 targetPort: 80 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 5e2149e..3a2c941 100644 --- a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml +++ b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml @@ -216,6 +216,19 @@ spec: rewrite: /resource-management service: backend-svc.resources.svc.cluster.local port: 80 + srx-admin-frontend: + name: srx-admin-frontend-virt-service + namespace: gateway + hosts: + - sarex.contour.infra.sarex.tech + gateways: + - gateway/platform-gateway + routes: + - path: + prefix: /control-interface/modules/ + rewrite: / + service: frontend-svc.ontrol-interface.svc.cluster.local + port: 80 documentations-frontend: name: documentations-frontend-virt-service namespace: gateway