Remove path
This commit is contained in:
@@ -13,33 +13,4 @@ spec:
|
|||||||
namespace: apps
|
namespace: apps
|
||||||
nativeLB: true
|
nativeLB: true
|
||||||
kind: Service
|
kind: Service
|
||||||
port: 9898
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: Middleware
|
|
||||||
metadata:
|
|
||||||
name: podinfo-strip
|
|
||||||
namespace: apps
|
|
||||||
spec:
|
|
||||||
stripPrefix:
|
|
||||||
prefixes:
|
|
||||||
- /podinfo
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: podinfo-path
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
routes:
|
|
||||||
- match: PathPrefix(`/podinfo`)
|
|
||||||
kind: Rule
|
|
||||||
middlewares:
|
|
||||||
- name: podinfo-strip
|
|
||||||
namespace: apps
|
|
||||||
services:
|
|
||||||
- name: podinfo
|
|
||||||
namespace: apps
|
|
||||||
kind: Service
|
|
||||||
port: 9898
|
port: 9898
|
||||||
Reference in New Issue
Block a user