Skip to content

[chart/redis-ha]add ipFamilyPolicy and ipFamilies to haProxy.service #366

@heliloop

Description

@heliloop

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions