mirror of
https://github.com/bitnami/charts.git
synced 2026-02-10 20:27:38 +08:00
[bitnami/mongodb-sharded] allow selector definitions for volumeClaimTemplates (#33574)
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 9.2.7 (2025-05-21)
|
||||
## 9.3.0 (2025-05-23)
|
||||
|
||||
* [bitnami/mongodb-sharded] :zap: :arrow_up: Update dependency references ([#33820](https://github.com/bitnami/charts/pull/33820))
|
||||
* [bitnami/mongodb-sharded] allow selector definitions for volumeClaimTemplates ([#33574](https://github.com/bitnami/charts/pull/33574))
|
||||
|
||||
## <small>9.2.7 (2025-05-22)</small>
|
||||
|
||||
* [bitnami/mongodb-sharded] :zap: :arrow_up: Update dependency references (#33820) ([933035b](https://github.com/bitnami/charts/commit/933035b248eec8383069a4601616545c24066ed6)), closes [#33820](https://github.com/bitnami/charts/issues/33820)
|
||||
|
||||
## <small>9.2.6 (2025-05-15)</small>
|
||||
|
||||
|
||||
@@ -38,4 +38,4 @@ maintainers:
|
||||
name: mongodb-sharded
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/mongodb-sharded
|
||||
version: 9.2.7
|
||||
version: 9.3.0
|
||||
|
||||
@@ -320,6 +320,7 @@ The Bitnami Kibana chart supports mounting extra volumes (either PVCs, secrets o
|
||||
| `configsvr.persistence.accessModes` | Use volume as ReadOnly or ReadWrite | `["ReadWriteOnce"]` |
|
||||
| `configsvr.persistence.size` | PersistentVolumeClaim size | `8Gi` |
|
||||
| `configsvr.persistence.annotations` | Persistent Volume annotations | `{}` |
|
||||
| `configsvr.persistence.selector` | Selector to match an existing Persistent Volume for Config Server data PVC | `{}` |
|
||||
| `configsvr.persistentVolumeClaimRetentionPolicy.enabled` | Enable Persistent volume retention policy for Config Server StatefulSet | `false` |
|
||||
| `configsvr.persistentVolumeClaimRetentionPolicy.whenScaled` | Volume retention behavior when the replica count of the StatefulSet is reduced | `Retain` |
|
||||
| `configsvr.persistentVolumeClaimRetentionPolicy.whenDeleted` | Volume retention behavior that applies when the StatefulSet is deleted | `Retain` |
|
||||
@@ -561,6 +562,7 @@ The Bitnami Kibana chart supports mounting extra volumes (either PVCs, secrets o
|
||||
| `shardsvr.persistence.accessModes` | Use volume as ReadOnly or ReadWrite | `["ReadWriteOnce"]` |
|
||||
| `shardsvr.persistence.size` | PersistentVolumeClaim size | `8Gi` |
|
||||
| `shardsvr.persistence.annotations` | Additional volume annotations | `{}` |
|
||||
| `shardsvr.persistence.selector` | Selector to match an existing Persistent Volume for Shard data PVC | `{}` |
|
||||
| `shardsvr.persistentVolumeClaimRetentionPolicy.enabled` | Enable Persistent volume retention policy for Shard replicas StatefulSet | `false` |
|
||||
| `shardsvr.persistentVolumeClaimRetentionPolicy.whenScaled` | Volume retention behavior when the replica count of the StatefulSet is reduced | `Retain` |
|
||||
| `shardsvr.persistentVolumeClaimRetentionPolicy.whenDeleted` | Volume retention behavior that applies when the StatefulSet is deleted | `Retain` |
|
||||
|
||||
@@ -454,6 +454,10 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.configsvr.persistence.size | quote }}
|
||||
{{- with .Values.configsvr.persistence.selector }}
|
||||
selector:
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.configsvr.persistence.selector "context" $) | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- include "common.storage.class" (dict "persistence" .Values.configsvr.persistence "global" .Values.global) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -461,6 +461,10 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ $.Values.shardsvr.persistence.size | quote }}
|
||||
{{- with $.Values.shardsvr.persistence.selector }}
|
||||
selector:
|
||||
{{- include "common.tplvalues.render" (dict "value" $.Values.shardsvr.persistence.selector "context" (merge $ (dict "Index" $i))) | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- include "common.storage.class" (dict "persistence" $.Values.shardsvr.persistence "global" $.Values.global) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if lt $i (sub $replicas 1) }}
|
||||
|
||||
@@ -605,6 +605,10 @@ configsvr:
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
||||
##
|
||||
annotations: {}
|
||||
## @param configsvr.persistence.selector Selector to match an existing Persistent Volume for Config Server data PVC
|
||||
## A label query over volumes to consider for binding (e.g. when using local volumes)
|
||||
##
|
||||
selector: {}
|
||||
## Persistent Volume Claim Retention Policy
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
|
||||
##
|
||||
@@ -1463,6 +1467,17 @@ shardsvr:
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
||||
##
|
||||
annotations: {}
|
||||
## @param shardsvr.persistence.selector Selector to match an existing Persistent Volume for Shard data PVC
|
||||
## A label query over volumes to consider for binding (e.g. when using local volumes)
|
||||
## Selector can be defined with static and dynamic options:
|
||||
## selector:
|
||||
## matchLabels:
|
||||
## app: web
|
||||
## shard: shard{{ .Index }}
|
||||
##
|
||||
## shard{{ .Index }} will be substituted to shard0, shard1 accordingly
|
||||
##
|
||||
selector: {}
|
||||
## Persistent Volume Claim Retention Policy
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user