32 lines
460 B
YAML
32 lines
460 B
YAML
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: TLSOption
|
||
|
metadata:
|
||
|
name: foo
|
||
|
namespace: default
|
||
|
|
||
|
spec:
|
||
|
minversion: VersionTLS12
|
||
|
|
||
|
---
|
||
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: test.crd
|
||
|
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
|