I’m trying to configure HAProxy to listen on both IPv4 and IPv6.
At the moment, the chart uses the deprecated loadBalancerIP field, which doesn’t allow specifying both IPv4 and IPv6 addresses.
Proposed Change
If I understand correctly, enabling dual-stack support would require adding variables for ipFamilyPolicy and ipFamilies with the following defaults:
spec:
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6
The loadBalancerIP field could likely be removed as part of this change.
Notes
This would make the service configuration compatible with modern Kubernetes clusters that support dual-stack networking and avoid using deprecated fields.