docker-mailserver / docker-mailserver-helm

Kubernetes Helm chart for docker-mailserver
https://github.com/docker-mailserver/docker-mailserver/
MIT License
107 stars 67 forks source link

Proxy protocol and Ingress routes #121

Closed AlMaVizca closed 4 months ago

AlMaVizca commented 5 months ago

I'm using Traefik, defining the docker-mailserverservice as ClusterIP and adding the IngressRouteTCP definitions, this got me thinking if it would be possible to set up this on the chart.

Would be enough to document the changes required to Traefik or Nginx to handle the ports? I mean the port binding for these controllers. It would also require adding a variable inside the service definition to sort the conditionals and prepare the bindings, like:

  ingressClassName: "traefik"

In that way, for Traefik the IngressRouteTCP definitions will be created while for nginx the config maps.

I can try to implement this, would you consider a different approach?

AlMaVizca commented 4 months ago

Comments on #126.