[bitnami/mongodb] Add parameter to enable/disable journaling in MongoDB (#6254)

* [bitnami/mongodb] Add parameter to enable/disable journaling in MongoDB

* [bitnami/mongodb] Update components versions

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

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2021-04-30 16:07:15 +02:00
committed by GitHub
parent cb895e2ad7
commit c82c05bdb7
7 changed files with 20 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.4.2
digest: sha256:4e3ec38e0e27e9fc1defb2a13f67a0aa12374bf0b15f06a6c13b1b46df6bffeb
generated: "2021-04-07T07:19:43.298937951Z"
version: 1.4.3
digest: sha256:593addb8fcc250e4abee3a44aff3fbc1cf619d0c319e498c3c3342df71fd373e
generated: "2021-04-30T12:56:25.228079535Z"

View File

@@ -26,4 +26,4 @@ name: mongodb
sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://mongodb.org
version: 10.12.7
version: 10.13.0

View File

@@ -105,6 +105,7 @@ The following tables lists the configurable parameters of the MongoDB&reg; chart
| `systemLogVerbosity` | MongoDB&reg; system log verbosity level | `0` |
| `disableSystemLog` | Switch to enable/disable MongoDB&reg; system log | `false` |
| `disableJavascript` | Switch to enable/disable MongoDB&reg; server-side JavaScript execution | `false` |
| `enableJournal` | Switch to enable/disable MongoDB&reg; Journaling | `true` |
| `configuration` | MongoDB&reg; configuration file to be used | `{}` |
| `existingConfigmap` | Name of existing ConfigMap with MongoDB&reg; configuration | `nil` |
| `initdbScripts` | Dictionary of initdb scripts | `nil` |

View File

@@ -261,6 +261,8 @@ spec:
value: {{ ternary "yes" "no" .Values.disableSystemLog | quote }}
- name: MONGODB_DISABLE_JAVASCRIPT
value: {{ ternary "yes" "no" .Values.disableJavascript | quote }}
- name: MONGODB_ENABLE_JOURNAL
value: {{ ternary "yes" "no" .Values.enableJournal | quote }}
- name: MONGODB_ENABLE_IPV6
value: {{ ternary "yes" "no" .Values.enableIPv6 | quote }}
- name: MONGODB_ENABLE_DIRECTORY_PER_DB

View File

@@ -260,6 +260,8 @@ spec:
value: {{ ternary "yes" "no" .Values.disableSystemLog | quote }}
- name: MONGODB_DISABLE_JAVASCRIPT
value: {{ ternary "yes" "no" .Values.disableJavascript | quote }}
- name: MONGODB_ENABLE_JOURNAL
value: {{ ternary "yes" "no" .Values.enableJournal | quote }}
- name: MONGODB_ENABLE_IPV6
value: {{ ternary "yes" "no" .Values.enableIPv6 | quote }}
- name: MONGODB_ENABLE_DIRECTORY_PER_DB

View File

@@ -201,6 +201,8 @@ spec:
value: {{ ternary "yes" "no" .Values.disableSystemLog | quote }}
- name: MONGODB_DISABLE_JAVASCRIPT
value: {{ ternary "yes" "no" .Values.disableJavascript | quote }}
- name: MONGODB_ENABLE_JOURNAL
value: {{ ternary "yes" "no" .Values.enableJournal | quote }}
- name: MONGODB_ENABLE_IPV6
value: {{ ternary "yes" "no" .Values.enableIPv6 | quote }}
- name: MONGODB_ENABLE_DIRECTORY_PER_DB

View File

@@ -20,7 +20,7 @@ image:
## Bitnami MongoDB(R) image tag
## ref: https://hub.docker.com/r/bitnami/mongodb/tags/
##
tag: 4.4.5-debian-10-r0
tag: 4.4.5-debian-10-r21
## Specify a imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
@@ -107,7 +107,7 @@ tls:
image:
registry: docker.io
repository: bitnami/nginx
tag: 1.19.9-debian-10-r6
tag: 1.19.10-debian-10-r14
pullPolicy: IfNotPresent
## Deployment pod host aliases
@@ -147,6 +147,11 @@ disableSystemLog: false
##
disableJavascript: false
## MongoDB(R) Journaling
## ref: https://docs.mongodb.com/manual/reference/configuration-options/#mongodb-setting-storage.journal.enabled
##
enableJournal: true
## MongoDB(R) configuration file for Primary and Secondary nodes. For documentation of all options, see:
## http://docs.mongodb.org/manual/reference/configuration-options/
## Example:
@@ -560,7 +565,7 @@ externalAccess:
image:
registry: docker.io
repository: bitnami/kubectl
tag: 1.18.17-debian-10-r18
tag: 1.18.18-debian-10-r12
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -1048,7 +1053,7 @@ metrics:
image:
registry: docker.io
repository: bitnami/mongodb-exporter
tag: 0.11.2-debian-10-r131
tag: 0.11.2-debian-10-r152
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.