nice-motherboard-21953
01/12/2023, 8:04 AM---
apiVersion: <http://traefik.containo.us/v1alpha1|traefik.containo.us/v1alpha1>
kind: IngressRouteTCP
metadata:
name: redis-service-tcp
spec:
entryPoints:
- redis
routes:
- match: HostSNI(`<http://redis.example.net|redis.example.net>`)
services:
- name: redis-service
port: 6379
tls:
secretName: wildcard-secret
(After applying this, I’m able to connect to <http://redis.example.net|redis.example.net>
using redis-cli)
However, I’m not able to do the same with postgres, even though the certificate etc is valid. Doesn’t postgres support SNI? Has anyone here exposed their postgres deployments via Traefik IngressRouteTCP with custom domain and TLS?sticky-summer-13450
01/12/2023, 8:21 AMnice-motherboard-21953
01/12/2023, 9:00 AM