From aca1298f64948a0a9ad32f38d9977318706ab5c6 Mon Sep 17 00:00:00 2001 From: sirius0xdev Date: Tue, 28 Apr 2026 04:30:14 +0000 Subject: [PATCH] fix route --- .../gatewayapi/gateway-routes/route.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) 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