[bitnami/apache] Enable PodDisruptionBudgets (#26685)

* [bitnami/apache] Enable PodDisruptionBudgets

Signed-off-by: Fran Mulero <fmulero@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>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Fran Mulero
2024-06-06 08:56:43 +02:00
committed by GitHub
parent a746ed1b65
commit db20e2dc4e
5 changed files with 13 additions and 9 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 11.1.2 (2024-06-04)
## 11.2.0 (2024-06-04)
* [bitnami/apache] Bump chart version ([#26620](https://github.com/bitnami/charts/pull/26620))
* [bitnami/apache] Enable PodDisruptionBudgets ([#26685](https://github.com/bitnami/charts/pull/26685))
## <small>11.1.2 (2024-06-04)</small>
* [bitnami/apache] Bump chart version (#26620) ([9bae7f7](https://github.com/bitnami/charts/commit/9bae7f7b76c811851721f4bb3de1df8da6151502)), closes [#26620](https://github.com/bitnami/charts/issues/26620)
## <small>11.1.1 (2024-05-29)</small>

View File

@@ -35,4 +35,4 @@ maintainers:
name: apache
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/apache
version: 11.1.2
version: 11.2.0

View File

@@ -213,8 +213,8 @@ As an alternative, you can use the preset configurations for pod affinity, pod
| Name | Description | Value |
| -------------------------- | -------------------------------------------------------------- | ------- |
| `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 Apache | `false` |
| `autoscaling.minReplicas` | Minimum number of Apache 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

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