From 12a0ed3d495cfe07b195f3f764c6ded7ce4ecacc Mon Sep 17 00:00:00 2001 From: Jesse Awan Date: Fri, 27 Feb 2026 09:27:53 +0100 Subject: [PATCH] [bitnami/haproxy] Add IPv6 dual-stack support with ipFamilyPolicy and ipFamilies (#36385) * feat(haproxy): add IPv6 dual-stack support with ipFamilyPolicy and ipFamilies Signed-off-by: Awan * fix(haproxy): bump chart version to 3.0.1 - Update Chart.yaml version from 3.0.0 to 3.0.1 - Update CHANGELOG.md version number to match Chart.yaml This fixes CI validation that requires version bump when chart files are modified. Signed-off-by: Awan * Update CHANGELOG.md Signed-off-by: Bitnami Bot * Update CHANGELOG.md Signed-off-by: Bitnami Bot --------- Signed-off-by: Awan Signed-off-by: Bitnami Bot Co-authored-by: Bitnami Bot --- bitnami/haproxy/CHANGELOG.md | 8 ++++++-- bitnami/haproxy/Chart.yaml | 2 +- bitnami/haproxy/README.md | 2 ++ bitnami/haproxy/templates/service.yaml | 6 ++++++ bitnami/haproxy/values.yaml | 14 ++++++++++++++ 5 files changed, 29 insertions(+), 3 deletions(-) diff --git a/bitnami/haproxy/CHANGELOG.md b/bitnami/haproxy/CHANGELOG.md index 69fd0933cc..1d9ffc6ce5 100644 --- a/bitnami/haproxy/CHANGELOG.md +++ b/bitnami/haproxy/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 2.2.34 (2025-08-13) +## 3.0.1 (2026-02-03) -* [bitnami/haproxy] :zap: :arrow_up: Update dependency references ([#35817](https://github.com/bitnami/charts/pull/35817)) +* feat(haproxy): add IPv6 dual-stack support with ipFamilyPolicy and ip… ([#36385](https://github.com/bitnami/charts/pull/36385)) + +## 2.2.34 (2025-08-13) + +* [bitnami/haproxy] :zap: :arrow_up: Update dependency references (#35817) ([88590a8](https://github.com/bitnami/charts/commit/88590a857b3aa4ad3c6038053f82c337e9226505)), closes [#35817](https://github.com/bitnami/charts/issues/35817) ## 2.2.33 (2025-08-13) diff --git a/bitnami/haproxy/Chart.yaml b/bitnami/haproxy/Chart.yaml index 3e77716782..2e19ba062e 100644 --- a/bitnami/haproxy/Chart.yaml +++ b/bitnami/haproxy/Chart.yaml @@ -30,4 +30,4 @@ maintainers: name: haproxy sources: - https://github.com/bitnami/charts/tree/main/bitnami/haproxy -version: 3.0.0 +version: 3.0.1 diff --git a/bitnami/haproxy/README.md b/bitnami/haproxy/README.md index 37387b4866..55ea3fbc10 100644 --- a/bitnami/haproxy/README.md +++ b/bitnami/haproxy/README.md @@ -234,6 +234,8 @@ As an alternative, use one of the preset configurations for pod affinity, pod an | `service.sessionAffinity` | Session Affinity for Kubernetes service, can be "None" or "ClientIP" | `None` | | `service.sessionAffinityConfig` | Additional settings for the sessionAffinity | `{}` | | `service.labels` | Additional custom labels for haproxy service | `{}` | +| `service.ipFamilyPolicy` | IP family policy for the service | `""` | +| `service.ipFamilies` | IP families for the service | `[]` | | `networkPolicy.enabled` | Specifies whether a NetworkPolicy should be created | `true` | | `networkPolicy.allowExternal` | Don't require server label for connections | `true` | | `networkPolicy.allowExternalEgress` | Allow the pod to access any range of port and all destinations. | `true` | diff --git a/bitnami/haproxy/templates/service.yaml b/bitnami/haproxy/templates/service.yaml index bd66e1bfbc..38fd508175 100644 --- a/bitnami/haproxy/templates/service.yaml +++ b/bitnami/haproxy/templates/service.yaml @@ -18,6 +18,12 @@ metadata: {{- end }} spec: type: {{ .Values.service.type }} + {{- if .Values.service.ipFamilyPolicy }} + ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }} + {{- end }} + {{- if .Values.service.ipFamilies }} + ipFamilies: {{- include "common.tplvalues.render" (dict "value" .Values.service.ipFamilies "context" $) | nindent 4 }} + {{- end }} {{- if .Values.service.clusterIP }} clusterIP: {{ .Values.service.clusterIP }} {{- end }} diff --git a/bitnami/haproxy/values.yaml b/bitnami/haproxy/values.yaml index 4eecf5529a..d7c0ea2982 100644 --- a/bitnami/haproxy/values.yaml +++ b/bitnami/haproxy/values.yaml @@ -133,6 +133,20 @@ service: ## @param service.labels Additional custom labels for haproxy service ## labels: {} + ## @param service.ipFamilyPolicy IP family policy for the service + ## Allowed values: SingleStack, PreferDualStack, RequireDualStack + ## ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services + ## + ipFamilyPolicy: "" + ## @param service.ipFamilies IP families for the service + ## Allowed values: IPv4, IPv6 + ## ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services + ## e.g: + ## ipFamilies: + ## - IPv4 + ## - IPv6 + ## + ipFamilies: [] ## Network Policies ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/ ##