apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
  name: test.route
  namespace: default

spec:
  entryPoints:
    - foo

  routes:
  - match: HostSNI(`foo.com`)
    services:
    - name: whoamitcp
      port: 8000

  tls:
    options:
      name: tls-options-cn
      namespace: cross-ns

---
apiVersion: traefik.io/v1alpha1
kind: TLSOption
metadata:
  name: tls-options-cn
  namespace: cross-ns

spec:
  minVersion: VersionTLS12
