This commit is contained in:
ivan 2026-05-04 20:25:23 +07:00
parent 485d58b159
commit 6a1c6c952a
2 changed files with 15 additions and 2 deletions

View File

@ -2,13 +2,13 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: srx-admin-svc name: frontend-svc
namespace: control-interface namespace: control-interface
spec: spec:
type: ClusterIP type: ClusterIP
selector: selector:
app: srx-admin app: srx-admin
ports: ports:
- port: 8080 - port: 80
targetPort: 80 targetPort: 80
protocol: TCP protocol: TCP

View File

@ -216,6 +216,19 @@ spec:
rewrite: /resource-management rewrite: /resource-management
service: backend-svc.resources.svc.cluster.local service: backend-svc.resources.svc.cluster.local
port: 80 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: documentations-frontend:
name: documentations-frontend-virt-service name: documentations-frontend-virt-service
namespace: gateway namespace: gateway