HAProxy community

SNI switching with haproxy kubernetes controller

Is it possible to use SNI switching as detailed in this article when using haproxy deployed to kubernetes with helm?

I want to expose a singe loadbalancer and direct traffic to backend SSL services (that use SNI) in other namespaces based off the hostname.

e.g. *.example.com points to loadbalancer
ssl://a.example.com:8088 -> svc.a-namespace.cluster.local:8088
ssl://b.example.com:8088 -> svc.b-namespace.cluster.local:8088

I tried putting some of the configuration from the article into a configmap but it seems the configmap is actually just for mapping a single port to a backend service.