[bitnami/mongodb-sharded] Mount emptyDir volume to mongosh directory (#24494)

* [bitnami/mongodb-sharded] Mount emptyDir volume to mongosh directory

Signed-off-by: Alejandro Moreno <amorenoc@vmware.com>

* increase resources preset

Signed-off-by: Alejandro Moreno <amorenoc@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Alejandro Moreno <amorenoc@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:
Alejandro Moreno
2024-03-18 13:28:16 +01:00
committed by GitHub
parent 640c4a8d7c
commit 30102ae6e9
7 changed files with 19 additions and 7 deletions

View File

@@ -35,4 +35,4 @@ maintainers:
name: mongodb-sharded
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/mongodb-sharded
version: 8.0.0
version: 8.0.1

View File

@@ -248,7 +248,7 @@ The Bitnami Kibana chart supports mounting extra volumes (either PVCs, secrets o
| Name | Description | Value |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------ |
| `configsvr.replicaCount` | Number of nodes in the replica set (the first node will be primary) | `1` |
| `configsvr.resourcesPreset` | Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if configsvr.resources is set (configsvr.resources is recommended for production). | `micro` |
| `configsvr.resourcesPreset` | Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if configsvr.resources is set (configsvr.resources is recommended for production). | `small` |
| `configsvr.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
| `configsvr.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `configsvr.hostAliases` | Deployment pod host aliases | `[]` |
@@ -342,7 +342,7 @@ The Bitnami Kibana chart supports mounting extra volumes (either PVCs, secrets o
| Name | Description | Value |
| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------- |
| `mongos.replicaCount` | Number of replicas | `1` |
| `mongos.resourcesPreset` | Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if mongos.resources is set (mongos.resources is recommended for production). | `micro` |
| `mongos.resourcesPreset` | Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if mongos.resources is set (mongos.resources is recommended for production). | `small` |
| `mongos.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
| `mongos.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `mongos.hostAliases` | Deployment pod host aliases | `[]` |
@@ -535,7 +535,7 @@ The Bitnami Kibana chart supports mounting extra volumes (either PVCs, secrets o
| `shardsvr.arbiter.replicaCount` | Number of arbiters in each shard replica set (the first node will be primary) | `0` |
| `shardsvr.arbiter.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `shardsvr.arbiter.hostAliases` | Deployment pod host aliases | `[]` |
| `shardsvr.arbiter.resourcesPreset` | Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if shardsvr.arbiter.resources is set (shardsvr.arbiter.resources is recommended for production). | `micro` |
| `shardsvr.arbiter.resourcesPreset` | Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if shardsvr.arbiter.resources is set (shardsvr.arbiter.resources is recommended for production). | `small` |
| `shardsvr.arbiter.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
| `shardsvr.arbiter.mongodbExtraFlags` | MongoDB&reg; additional command line flags | `[]` |
| `shardsvr.arbiter.topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | `[]` |

View File

@@ -267,6 +267,9 @@ spec:
- name: empty-dir
mountPath: /opt/bitnami/mongodb/logs
subPath: app-logs-dir
- name: empty-dir
mountPath: /.mongodb
subPath: app-mongosh-dir
- name: replicaset-entrypoint-configmap
mountPath: /entrypoint
- name: datadir

View File

@@ -245,6 +245,9 @@ spec:
- name: empty-dir
mountPath: /opt/bitnami/mongodb/logs
subPath: app-logs-dir
- name: empty-dir
mountPath: /.mongodb
subPath: app-mongosh-dir
{{- if .Values.auth.usePasswordFile }}
- name: secrets
mountPath: /bitnami/mongodb/secrets/

View File

@@ -240,6 +240,9 @@ spec:
- name: empty-dir
mountPath: /opt/bitnami/mongodb/logs
subPath: app-logs-dir
- name: empty-dir
mountPath: /.mongodb
subPath: app-mongosh-dir
{{- if or $.Values.shardsvr.arbiter.config $.Values.shardsvr.arbiter.configCM }}
- name: config
mountPath: /bitnami/mongodb/conf/

View File

@@ -274,6 +274,9 @@ spec:
- name: empty-dir
mountPath: /opt/bitnami/mongodb/logs
subPath: app-logs-dir
- name: empty-dir
mountPath: /.mongodb
subPath: app-mongosh-dir
- name: replicaset-entrypoint-configmap
mountPath: /entrypoint
- name: datadir

View File

@@ -412,7 +412,7 @@ configsvr:
## @param configsvr.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if configsvr.resources is set (configsvr.resources is recommended for production).
## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15
##
resourcesPreset: "micro"
resourcesPreset: "small"
## @param configsvr.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
## Example:
## resources:
@@ -758,7 +758,7 @@ mongos:
## @param mongos.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if mongos.resources is set (mongos.resources is recommended for production).
## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15
##
resourcesPreset: "micro"
resourcesPreset: "small"
## @param mongos.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
## Example:
## resources:
@@ -1468,7 +1468,7 @@ shardsvr:
## @param shardsvr.arbiter.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if shardsvr.arbiter.resources is set (shardsvr.arbiter.resources is recommended for production).
## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15
##
resourcesPreset: "micro"
resourcesPreset: "small"
## @param shardsvr.arbiter.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
## Example:
## resources: