2019-03-14 14:56:06 +00:00
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: IngressRoute
|
|
|
|
metadata:
|
2019-07-05 15:24:04 +00:00
|
|
|
name: test.route
|
2019-03-14 14:56:06 +00:00
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
2019-04-15 09:14:05 +00:00
|
|
|
entryPoints:
|
2019-03-14 14:56:06 +00:00
|
|
|
- web
|
|
|
|
|
|
|
|
routes:
|
|
|
|
- match: Host(`foo.com`) && PathPrefix(`/bar`)
|
|
|
|
kind: Rule
|
|
|
|
priority: 12
|
|
|
|
services:
|
|
|
|
- name: whoami
|
|
|
|
port: 80
|
2019-06-21 15:18:05 +00:00
|
|
|
|
|
|
|
tls:
|
|
|
|
options:
|
|
|
|
name: mytlsoption
|
2020-02-24 16:14:06 +00:00
|
|
|
store:
|
|
|
|
name: mytlsstore
|