This commit is contained in:
ivan 2026-05-12 15:35:00 +05:00
parent ad0f6ed042
commit d20e616ac6
2 changed files with 15 additions and 2 deletions

View File

@ -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

View File

@ -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