2019-06-11 13:12:04 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: supersecret
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
data:
|
|
|
|
tls.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=
|
|
|
|
tls.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0=
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: IngressRouteTCP
|
|
|
|
metadata:
|
2019-07-05 15:24:04 +00:00
|
|
|
name: test.route
|
2019-06-11 13:12:04 +00:00
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
entryPoints:
|
|
|
|
- foo
|
|
|
|
|
|
|
|
routes:
|
|
|
|
- match: HostSNI(`foo.com`)
|
|
|
|
services:
|
|
|
|
- name: whoamitcp
|
|
|
|
port: 8000
|
|
|
|
|
|
|
|
tls:
|
|
|
|
secretName: supersecret
|
|
|
|
passthrough: true
|