[bitnami/schema-registry] Enable PodDisruptionBudgets (#26377)

* [bitnami/schema-registry] 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>

* 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-05-29 11:10:08 +02:00
committed by GitHub
co-authored by Bitnami Containers
parent e7ca9a735b
commit 5337d8ab35
5 changed files with 14 additions and 10 deletions
+5 -1
View File
@@ -1,8 +1,12 @@
# Changelog
## 19.1.0 (2024-05-28)
* [bitnami/schema-registry] Enable PodDisruptionBudgets ([#26377](https://github.com/bitnami/charts/pull/26377))
## 19.0.0 (2024-05-27)
* [bitnami/schema-registry] Update dependencies ([#26446](https://github.com/bitnami/charts/pull/26446))
* [bitnami/schema-registry] Update dependencies (#26446) ([6db614b](https://github.com/bitnami/charts/commit/6db614bb44e95947764e4de7c2e0803a0123cc84)), closes [#26446](https://github.com/bitnami/charts/issues/26446)
## <small>18.1.3 (2024-05-26)</small>
+1 -1
View File
@@ -34,4 +34,4 @@ maintainers:
name: schema-registry
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/schema-registry
version: 19.0.0
version: 19.1.0
+3 -3
View File
@@ -320,9 +320,9 @@ For annotations, please see [this document](https://github.com/kubernetes/ingres
| `extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for schema-registry container(s) | `[]` |
| `initContainers` | Add additional init containers to the Schema Registry pods. | `[]` |
| `sidecars` | Add additional sidecar containers to the Schema Registry pods. | `[]` |
| `pdb.create` | Enable/disable a Pod Disruption Budget creation | `false` |
| `pdb.minAvailable` | Minimum number/percentage of pods that must still be available after the eviction | `1` |
| `pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable after the eviction | `""` |
| `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 | `""` |
| `pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable after the eviction. Defaults to `1` if both `pdb.minAvailable` and `pdb.maxUnavailable` are empty. | `""` |
| `autoscaling.enabled` | Enable autoscaling for replicas | `false` |
| `autoscaling.minReplicas` | Minimum number of replicas | `1` |
| `autoscaling.maxReplicas` | Maximum number of replicas | `11` |
+2 -2
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:
+3 -3
View File
@@ -452,11 +452,11 @@ sidecars: []
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
## @param pdb.create Enable/disable a Pod Disruption Budget creation
## @param pdb.minAvailable Minimum number/percentage of pods that must still be available after the eviction
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable after the eviction
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable after the eviction. Defaults to `1` if both `pdb.minAvailable` and `pdb.maxUnavailable` are empty.
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## Schema Registry Autoscaling parameters.
## @param autoscaling.enabled Enable autoscaling for replicas