diff --git a/infrastructure/gatewayapi/gateway-routes/route.yaml b/infrastructure/gatewayapi/gateway-routes/route.yaml index 63f56b2..d241568 100644 --- a/infrastructure/gatewayapi/gateway-routes/route.yaml +++ b/infrastructure/gatewayapi/gateway-routes/route.yaml @@ -1,18 +1,22 @@ apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: - name: paaas-landing + name: paaas-landing namespace: customer1 spec: parentRefs: - - name: external-http-gateway - kind: Gateway + - name: external-http-gateway rules: - matches: - path: type: PathPrefix - value: /paaas + value: /paaas + filters: + - type: URLRewrite + urlRewrite: + path: + type: ReplacePrefixMatch + replacePrefixMatch: / backendRefs: - - name: paaas-landing-svc - port: 80 - + - name: paaas-landing-svc + port: 80