Closed archoversight closed 2 years ago
Getting this in! Sorry @archoversight I've been busy changing jobs and life took over.
https://github.com/DandyDeveloper/charts/blob/master/charts/redis-ha/templates/_configs.tpl#L79 hi, this regex for ipv4 only, this pr not working with ipv6only configuration.
Instead of listening only on IPv4, this updates the configuration to start an IPv6 socket that also accepts connections over IPv4 using the v4v6 flag from http://cbonte.github.io/haproxy-dconv/2.5/configuration.html#5.1-v4v6
This allows clusters that are in IPv6 only mode (for example, an EKS cluster) to bring up an HA redis correctly.
What this PR does / why we need it:
Which issue this PR fixes
Special notes for your reviewer:
This requires that we bind to
[::]
with thev4v6
flag which will create a socket that can accept both IPv4 and IPv6. The other solution is to explicitly bind to both by adding twobind
statements instead.Without this change the HA Proxy systems would continue to fail over and over.
Checklist
[stable/mychartname]
)