++
This commit is contained in:
parent
ad0f6ed042
commit
d20e616ac6
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user