Adjustments
This commit is contained in:
@@ -8,7 +8,7 @@ spec:
|
||||
- web
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`{{ .Values.host }}`) && PathPrefix(`/peers`)
|
||||
match: Host(`{{ .Values.host }}`) && PathPrefix(`/peer`)
|
||||
priority: 10
|
||||
services:
|
||||
- kind: Service
|
||||
@@ -27,7 +27,7 @@ kind: Middleware
|
||||
metadata:
|
||||
name: strip-peer-prefix
|
||||
spec:
|
||||
stripPrefix:
|
||||
prefixes:
|
||||
- "/peers"
|
||||
replacePathRegex:
|
||||
regex: ^/peer(.*)
|
||||
replacement: /oc$1
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user