2019-06-21 15:18:05 +00:00
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: TLSOption
|
|
|
|
metadata:
|
|
|
|
name: foo
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
2019-07-12 15:50:04 +00:00
|
|
|
minVersion: VersionTLS12
|
2019-06-21 15:18:05 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: IngressRoute
|
|
|
|
metadata:
|
2019-07-05 15:24:04 +00:00
|
|
|
name: test.route
|
2019-06-21 15:18:05 +00:00
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
entryPoints:
|
|
|
|
- web
|
|
|
|
|
|
|
|
routes:
|
|
|
|
- match: Host(`foo.com`) && PathPrefix(`/bar`)
|
|
|
|
kind: Rule
|
|
|
|
priority: 12
|
|
|
|
services:
|
|
|
|
- name: whoami
|
|
|
|
port: 80
|
|
|
|
|
|
|
|
tls:
|
|
|
|
options:
|
|
|
|
name: unknown
|