fix route

This commit is contained in:
sirius0xdev 2026-04-28 04:30:14 +00:00
parent 3c233b0916
commit aca1298f64

View file

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