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?
I'm using Traefik, defining the
docker-mailserver
service 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:
In that way, for Traefik the
IngressRouteTCP
definitions will be created while fornginx
the config maps.I can try to implement this, would you consider a different approach?