30 lines
532 B
YAML
30 lines
532 B
YAML
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: supersecret
|
||
|
namespace: default
|
||
|
|
||
|
data:
|
||
|
tls.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=
|
||
|
tls.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0=
|
||
|
|
||
|
---
|
||
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRouteTCP
|
||
|
metadata:
|
||
|
name: test.crd
|
||
|
namespace: default
|
||
|
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- foo
|
||
|
|
||
|
routes:
|
||
|
- match: HostSNI(`foo.com`)
|
||
|
services:
|
||
|
- name: whoamitcp
|
||
|
port: 8000
|
||
|
|
||
|
tls:
|
||
|
secretName: supersecret
|