[bitnami/haproxy] Enable PodDisruptionBudgets (#26696)

* [bitnami/haproxy] Enable PodDisruptionBudgets

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Fran Mulero <fmulero@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
Fran Mulero
2024-06-05 11:44:38 +02:00
committed by GitHub
parent 96556e4ba1
commit ba21fcee50
5 changed files with 14 additions and 10 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 1.3.2 (2024-06-05)
## 1.4.0 (2024-06-05)
* [bitnami/haproxy] Release 1.3.2 ([#26728](https://github.com/bitnami/charts/pull/26728))
* [bitnami/haproxy] Enable PodDisruptionBudgets ([#26696](https://github.com/bitnami/charts/pull/26696))
## <small>1.3.2 (2024-06-05)</small>
* [bitnami/haproxy] Release 1.3.2 (#26728) ([460da70](https://github.com/bitnami/charts/commit/460da705601a4877312e4bda9c4f9ec6d861e2ab)), closes [#26728](https://github.com/bitnami/charts/issues/26728)
## <small>1.3.1 (2024-06-04)</small>

View File

@@ -27,5 +27,5 @@ maintainers:
url: https://github.com/bitnami/charts
name: haproxy
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/haproxy
version: 1.3.2
- https://github.com/bitnami/charts/tree/main/bitnami/haproxy
version: 1.4.0

View File

@@ -285,8 +285,8 @@ As an alternative, use one of the preset configurations for pod affinity, pod an
| `containerSecurityContext.allowPrivilegeEscalation` | Set container's Security Context allowPrivilegeEscalation | `false` |
| `containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `pdb.create` | Enable a Pod Disruption Budget creation | `false` |
| `pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `1` |
| `pdb.create` | Enable a Pod Disruption Budget creation | `true` |
| `pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `""` |
| `pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable | `""` |
| `autoscaling.enabled` | Enable Horizontal POD autoscaling for HAProxy | `false` |
| `autoscaling.minReplicas` | Minimum number of HAProxy replicas | `1` |

View File

@@ -17,8 +17,8 @@ spec:
{{- if .Values.pdb.minAvailable }}
minAvailable: {{ .Values.pdb.minAvailable }}
{{- end }}
{{- if .Values.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.pdb.maxUnavailable }}
{{- if or .Values.pdb.maxUnavailable ( not .Values.pdb.minAvailable ) }}
maxUnavailable: {{ .Values.pdb.maxUnavailable | default 1 }}
{{- end }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
selector:

View File

@@ -439,8 +439,8 @@ containerSecurityContext:
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## HAProxy Autoscaling configuration
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/