fix route
This commit is contained in:
parent
3c233b0916
commit
aca1298f64
1 changed files with 11 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue