[bitnami/cassandra] Enable PodDisruptionBudgets (#26687)

* [bitnami/cassandra] 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-05 12:30:41 +02:00
committed by GitHub
parent df341f67ae
commit 70cc69f721
5 changed files with 13 additions and 9 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 11.2.1 (2024-06-04)
## 11.3.0 (2024-06-04)
* [bitnami/cassandra] Bump chart version ([#26622](https://github.com/bitnami/charts/pull/26622))
* [bitnami/cassandra] Enable PodDisruptionBudgets ([#26687](https://github.com/bitnami/charts/pull/26687))
## <small>11.2.1 (2024-06-04)</small>
* [bitnami/cassandra] Bump chart version (#26622) ([c46fcac](https://github.com/bitnami/charts/commit/c46fcacea5c0f1e3688fe4c35c3bd79ea68de122)), closes [#26622](https://github.com/bitnami/charts/issues/26622)
## 11.2.0 (2024-05-21)

View File

@@ -32,4 +32,4 @@ maintainers:
name: cassandra
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/cassandra
version: 11.2.1
version: 11.3.0

View File

@@ -264,8 +264,8 @@ As the image run as non-root by default, it is necessary to adjust the ownership
| `extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for cassandra container | `[]` |
| `initContainers` | Add additional init containers to the cassandra pods | `[]` |
| `sidecars` | Add additional sidecar containers to the cassandra pods | `[]` |
| `pdb.create` | Enable/disable a Pod Disruption Budget creation | `false` |
| `pdb.minAvailable` | Mininimum number of pods that must still be available after the eviction | `1` |
| `pdb.create` | Enable/disable a Pod Disruption Budget creation | `true` |
| `pdb.minAvailable` | Mininimum number of pods that must still be available after the eviction | `""` |
| `pdb.maxUnavailable` | Max number of pods that can be unavailable after the eviction | `""` |
| `hostNetwork` | Enable HOST Network | `false` |
| `containerPorts.intra` | Intra Port on the Host and Container | `7000` |

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

@@ -430,10 +430,10 @@ sidecars: []
pdb:
## @param pdb.create Enable/disable a Pod Disruption Budget creation
##
create: false
create: true
## @param pdb.minAvailable Mininimum number of pods that must still be available after the eviction
##
minAvailable: 1
minAvailable: ""
## @param pdb.maxUnavailable Max number of pods that can be unavailable after the eviction
##
maxUnavailable: ""