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 apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute kind: HTTPRoute
metadata: metadata:
name: paaas-landing name: paaas-landing
namespace: customer1 namespace: customer1
spec: spec:
parentRefs: parentRefs:
- name: external-http-gateway - name: external-http-gateway
kind: Gateway
rules: rules:
- matches: - matches:
- path: - path:
type: PathPrefix type: PathPrefix
value: /paaas value: /paaas
filters:
- type: URLRewrite
urlRewrite:
path:
type: ReplacePrefixMatch
replacePrefixMatch: /
backendRefs: backendRefs:
- name: paaas-landing-svc - name: paaas-landing-svc
port: 80 port: 80