[bitnami/solr] Enable PodDisruptionBudgets (#26708)

* [bitnami/solr] 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 10:16:09 +02:00
committed by GitHub
parent 9f35c24bcf
commit e5877b7413
5 changed files with 13 additions and 9 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 9.2.2 (2024-05-30)
## 9.3.0 (2024-06-04)
* [bitnami/solr] Release 9.2.2 ([#26558](https://github.com/bitnami/charts/pull/26558))
* [bitnami/solr] Enable PodDisruptionBudgets ([#26708](https://github.com/bitnami/charts/pull/26708))
## <small>9.2.2 (2024-05-30)</small>
* [bitnami/solr] Release 9.2.2 (#26558) ([be4358b](https://github.com/bitnami/charts/commit/be4358b13e35b10026d6ee31efdda58ea864633c)), closes [#26558](https://github.com/bitnami/charts/issues/26558)
## <small>9.2.1 (2024-05-22)</small>

View File

@@ -34,4 +34,4 @@ maintainers:
name: solr
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/solr
version: 9.2.2
version: 9.3.0

View File

@@ -269,8 +269,8 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
| `updateStrategy.type` | Solr statefulset strategy type | `RollingUpdate` |
| `updateStrategy.rollingUpdate` | Solr statefulset rolling update configuration parameters | `{}` |
| `enableServiceLinks` | Whether information about services should be injected into pod's environment variable | `true` |
| `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 | `""` |
| `extraVolumes` | Optionally specify extra list of additional volumes for the Solr pod(s) | `[]` |
| `extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Solr container(s) | `[]` |

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

@@ -382,8 +382,8 @@ enableServiceLinks: true
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## @param extraVolumes Optionally specify extra list of additional volumes for the Solr pod(s)
##