19 lines
305 B
YAML
19 lines
305 B
YAML
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: test.route
|
||
|
namespace: default
|
||
|
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- foo
|
||
|
|
||
|
routes:
|
||
|
- match: Host(`foo.com`) && PathPrefix(`/bar`)
|
||
|
kind: Rule
|
||
|
priority: 12
|
||
|
services:
|
||
|
- name: whoami3
|
||
|
port: 8443
|
||
|
scheme: https
|