ingressroutetcp.yaml.example 545 B

12345678910111213141516171819
  1. apiVersion: traefik.io/v1alpha1
  2. kind: IngressRouteTCP
  3. metadata:
  4. name: your-ingressroutetcp # <-- Replace with your IngressRouteTCP name
  5. namespace: your-namespace # <-- Replace with your namespace
  6. spec:
  7. entryPoints:
  8. - web
  9. - websecure
  10. routes:
  11. - match: HostSNI(`your-sni`) # <-- Replace with your SNI
  12. priority: 10 # <-- (Optional) change rule priority
  13. services:
  14. - name: your-service # <-- Replace with your service name
  15. port: 80
  16. # --> (Optional) Enable TLS Passthrough
  17. # tls:
  18. # passthrough: true
  19. # <--