[bitnami/minio] Align PodDisruptionBudgets with templates (#26705)

* [bitnami/minio] 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>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Fran Mulero
2024-06-05 12:32:27 +02:00
committed by GitHub
parent 70cc69f721
commit d1abc21034
5 changed files with 11 additions and 7 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 14.6.4 (2024-06-05)
## 14.6.5 (2024-06-05)
* [bitnami/minio] Release 14.6.4 ([#26741](https://github.com/bitnami/charts/pull/26741))
* [bitnami/minio] Align PodDisruptionBudgets with templates ([#26705](https://github.com/bitnami/charts/pull/26705))
## <small>14.6.4 (2024-06-05)</small>
* [bitnami/minio] Release 14.6.4 (#26741) ([f8c8635](https://github.com/bitnami/charts/commit/f8c8635ec24d47e31a33cc488eb391bb745dca1d)), closes [#26741](https://github.com/bitnami/charts/issues/26741)
## <small>14.6.3 (2024-06-04)</small>

View File

@@ -34,4 +34,4 @@ maintainers:
name: minio
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/minio
version: 14.6.4
version: 14.6.5

View File

@@ -476,7 +476,7 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
| Name | Description | Value |
| -------------------- | --------------------------------------------------------------------------------- | ------ |
| `pdb.create` | Enable/disable a Pod Disruption Budget creation | `true` |
| `pdb.minAvailable` | Minimum number/percentage of pods that must still be available after the eviction | `1` |
| `pdb.minAvailable` | Minimum number/percentage of pods that must still be available after the eviction | `""` |
| `pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable after the eviction | `""` |
### Metrics parameters

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

@@ -1173,7 +1173,7 @@ pdb:
create: true
## @param pdb.minAvailable Minimum number/percentage of pods that must still be available after the eviction
##
minAvailable: 1
minAvailable: ""
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable after the eviction
##
maxUnavailable: ""