haproxy-ingress / charts

HAProxy Ingress helm charts
Apache License 2.0
43 stars 66 forks source link

Disable all services and use host based network #23

Open zbebeto opened 3 years ago

zbebeto commented 3 years ago

Hi jcmorais,

I started with haproxy ingress using my own k8s yml files. Now I started using helm. In this new context, I realized that there is a creation of some services. I want to work 100% host based network with no NAT. So I dont need a service of kind loadbalancer that is been created because the haproxy ingress will bind directly in the host's ports. I have already put the "config:" (my config map) and the hostnetwork to true. It worked. But I dont need this service and I dont know how to disable this service creation. Can you help me ?

jcmoraisjr commented 3 years ago

Hi, this is actually not supported, you can only configure the type of the service. But I agree that an enabled attribute would be helpful, I'll take care of it and add in the next release.

zbebeto commented 3 years ago

ok... thanks... I will delete the service manually