traefik/pkg/provider/kubernetes/crd/fixtures/tcp/with_two_rules.yml
2019-07-05 17:24:04 +02:00

19 lines
322 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: test.route
namespace: default
spec:
entryPoints:
- foo
routes:
- match: HostSNI(`foo.com`)
services:
- name: whoamitcp
port: 8000
- match: HostSNI(`bar.com`)
services:
- name: whoamitcp
port: 8000