apiVersion: v1
kind: Service
metadata:
  name: prod-tls
  namespace: traefik
spec:
  ports:
    - protocol: TCP
      port: 443
      targetPort: 443
---
apiVersion: v1
kind: Endpoints
metadata:
  name: prod-tls
  namespace: traefik
subsets:
  - addresses:
    - ip: 192.168.2.191
    ports:
    - port: 443
---
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
  name: prod-tls
  namespace: traefik
spec:
  entryPoints:
  - websecure
  routes:
  - match: HostSNIRegexp(`^[a-z0-9]+-prod\.allarddcs\.nl$`)
    services:
    - name: prod-tls
      port: 443
  tls:
    passthrough: true
