How can I add a custom config file to the Voyager HAProxy ingress?

11/25/2019

I am using kubernetes on AWS with Voyager (https://appscode.com/products/voyager) as the ingress controller.

I have a special situation where we have thousands of sites with separate SSL certificates for each site. I have attempted to configure them by normal means, via the Ingress yaml configuration, but with so many domains, the file is too big to be uploaded and processed. I did a little bit of research and it seems that this limitation cannot be surpassed, as it is a limitation of etcd.

I have been trying to set it up so that I can provide my own second configuration file made available via a volume, but I don't know the best way to do it since I would need to alter the command line of haproxy to also load my config in addition to the default config with the -f option.

Is there a simple way to accomplish this?

-- cue8chalk
amazon-web-services
haproxy
haproxy-ingress
kubernetes

0 Answers