mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/solr] Add persistentvolumeclaim retention on solr statefulset (#33310)
* feat(solr): add persistentVolumeClaimRetentionPolicy on statefulset Signed-off-by: lenglet-k <lenglet-k@mgdis.fr> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> --------- Signed-off-by: lenglet-k <lenglet-k@mgdis.fr> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 9.6.1 (2025-04-09)
|
||||
## 9.6.2 (2025-05-05)
|
||||
|
||||
* [bitnami/solr] Release 9.6.1 ([#32893](https://github.com/bitnami/charts/pull/32893))
|
||||
* [bitnami/solr] Add persistentvolumeclaim retention on solr statefulset ([#33310](https://github.com/bitnami/charts/pull/33310))
|
||||
|
||||
## <small>9.6.1 (2025-04-09)</small>
|
||||
|
||||
* [bitnami/solr] Release 9.6.1 (#32893) ([0326481](https://github.com/bitnami/charts/commit/0326481eb281ec144bc172c14ed160bdd6239a25)), closes [#32893](https://github.com/bitnami/charts/issues/32893)
|
||||
|
||||
## 9.6.0 (2025-04-04)
|
||||
|
||||
|
||||
@@ -35,4 +35,4 @@ maintainers:
|
||||
name: solr
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/solr
|
||||
version: 9.6.1
|
||||
version: 9.6.2
|
||||
|
||||
@@ -373,6 +373,14 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
|
||||
| `persistence.subPathExpr` | Expanded path within the volume from which | `""` |
|
||||
| `persistence.selector` | Selector to match an existing Persistent Volume for Solr data PVC | `{}` |
|
||||
|
||||
### Persistent Volume Claim Retention Policy
|
||||
|
||||
| Name | Description | Value |
|
||||
| -------------------------------------------------- | ------------------------------------------------------------------------------ | -------- |
|
||||
| `persistentVolumeClaimRetentionPolicy.enabled` | Enable Persistent volume retention policy for Solr Statefulset | `false` |
|
||||
| `persistentVolumeClaimRetentionPolicy.whenScaled` | Volume retention behavior when the replica count of the StatefulSet is reduced | `Retain` |
|
||||
| `persistentVolumeClaimRetentionPolicy.whenDeleted` | Volume retention behavior that applies when the StatefulSet is deleted | `Retain` |
|
||||
|
||||
### Volume Permissions parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
|
||||
@@ -431,6 +431,11 @@ spec:
|
||||
{{- if .Values.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.persistentVolumeClaimRetentionPolicy.enabled }}
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
whenDeleted: {{ .Values.persistentVolumeClaimRetentionPolicy.whenDeleted }}
|
||||
whenScaled: {{ .Values.persistentVolumeClaimRetentionPolicy.whenScaled }}
|
||||
{{- end }}
|
||||
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
|
||||
volumeClaimTemplates:
|
||||
- apiVersion: v1
|
||||
|
||||
@@ -687,6 +687,20 @@ persistence:
|
||||
## app: my-app
|
||||
##
|
||||
selector: {}
|
||||
|
||||
## @section Persistent Volume Claim Retention Policy
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
|
||||
##
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
## @param persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Solr Statefulset
|
||||
##
|
||||
enabled: false
|
||||
## @param persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
|
||||
##
|
||||
whenScaled: Retain
|
||||
## @param persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
|
||||
##
|
||||
whenDeleted: Retain
|
||||
## @section Volume Permissions parameters
|
||||
##
|
||||
|
||||
|
||||
Reference in New Issue
Block a user