mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-28 11:13:26 +01:00
20 lines
545 B
Plaintext
20 lines
545 B
Plaintext
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRouteTCP
|
|
metadata:
|
|
name: your-ingressroutetcp # <-- Replace with your IngressRouteTCP name
|
|
namespace: your-namespace # <-- Replace with your namespace
|
|
spec:
|
|
entryPoints:
|
|
- web
|
|
- websecure
|
|
routes:
|
|
- match: HostSNI(`your-sni`) # <-- Replace with your SNI
|
|
priority: 10 # <-- (Optional) change rule priority
|
|
services:
|
|
- name: your-service # <-- Replace with your service name
|
|
port: 80
|
|
# --> (Optional) Enable TLS Passthrough
|
|
# tls:
|
|
# passthrough: true
|
|
# <--
|