From ff1db9d4264e63ff3afb340ddaf0a4ff89ff8a82 Mon Sep 17 00:00:00 2001 From: Daniel Arteaga Date: Mon, 6 Apr 2020 16:33:42 +0200 Subject: [PATCH] [bitnami/mongodb] add ALLOW_EMPTY_PASSWORD=yes when usePassword=false (#2091) * fix(mongodb): add ALLOW_EMPTY_PASSWORD=yes when usePassword=false * [bitnami/mongodb] Update components versions Signed-off-by: Bitnami Containers Co-authored-by: Bitnami Containers --- bitnami/mongodb/Chart.yaml | 2 +- bitnami/mongodb/templates/statefulset-arbiter-rs.yaml | 3 +++ bitnami/mongodb/templates/statefulset-primary-rs.yaml | 3 +++ bitnami/mongodb/templates/statefulset-secondary-rs.yaml | 3 +++ bitnami/mongodb/values-production.yaml | 2 +- bitnami/mongodb/values.yaml | 2 +- 6 files changed, 12 insertions(+), 3 deletions(-) diff --git a/bitnami/mongodb/Chart.yaml b/bitnami/mongodb/Chart.yaml index c00cea4cb..4aec4e0d5 100644 --- a/bitnami/mongodb/Chart.yaml +++ b/bitnami/mongodb/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mongodb -version: 7.10.8 +version: 7.10.9 appVersion: 4.2.5 description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications. keywords: diff --git a/bitnami/mongodb/templates/statefulset-arbiter-rs.yaml b/bitnami/mongodb/templates/statefulset-arbiter-rs.yaml index f89ef26d4..525c8fb68 100644 --- a/bitnami/mongodb/templates/statefulset-arbiter-rs.yaml +++ b/bitnami/mongodb/templates/statefulset-arbiter-rs.yaml @@ -121,6 +121,9 @@ spec: secretKeyRef: name: {{ if .Values.existingSecret }}{{ .Values.existingSecret }}{{- else }}{{ template "mongodb.fullname" . }}{{- end }} key: mongodb-replica-set-key + {{- else }} + - name: ALLOW_EMPTY_PASSWORD + value: "yes" {{- end }} - name: MONGODB_ENABLE_IPV6 {{- if .Values.mongodbEnableIPv6 }} diff --git a/bitnami/mongodb/templates/statefulset-primary-rs.yaml b/bitnami/mongodb/templates/statefulset-primary-rs.yaml index 51ff775f6..8d69f430d 100644 --- a/bitnami/mongodb/templates/statefulset-primary-rs.yaml +++ b/bitnami/mongodb/templates/statefulset-primary-rs.yaml @@ -151,6 +151,9 @@ spec: secretKeyRef: name: {{ if .Values.existingSecret }}{{ .Values.existingSecret }}{{- else }}{{ template "mongodb.fullname" . }}{{- end }} key: mongodb-replica-set-key + {{- else }} + - name: ALLOW_EMPTY_PASSWORD + value: "yes" {{- end }} - name: MONGODB_ENABLE_IPV6 {{- if .Values.mongodbEnableIPv6 }} diff --git a/bitnami/mongodb/templates/statefulset-secondary-rs.yaml b/bitnami/mongodb/templates/statefulset-secondary-rs.yaml index aa0097b0a..2f822457b 100644 --- a/bitnami/mongodb/templates/statefulset-secondary-rs.yaml +++ b/bitnami/mongodb/templates/statefulset-secondary-rs.yaml @@ -139,6 +139,9 @@ spec: secretKeyRef: name: {{ if .Values.existingSecret }}{{ .Values.existingSecret }}{{- else }}{{ template "mongodb.fullname" . }}{{- end }} key: mongodb-replica-set-key + {{- else }} + - name: ALLOW_EMPTY_PASSWORD + value: "yes" {{- end }} - name: MONGODB_ENABLE_IPV6 {{- if .Values.mongodbEnableIPv6 }} diff --git a/bitnami/mongodb/values-production.yaml b/bitnami/mongodb/values-production.yaml index 881996238..b0604de26 100644 --- a/bitnami/mongodb/values-production.yaml +++ b/bitnami/mongodb/values-production.yaml @@ -18,7 +18,7 @@ image: ## Bitnami MongoDB image tag ## ref: https://hub.docker.com/r/bitnami/mongodb/tags/ ## - tag: 4.2.5-debian-10-r42 + tag: 4.2.5-debian-10-r43 ## Specify a imagePullPolicy ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images ## diff --git a/bitnami/mongodb/values.yaml b/bitnami/mongodb/values.yaml index dd46a9457..e7fe5296f 100644 --- a/bitnami/mongodb/values.yaml +++ b/bitnami/mongodb/values.yaml @@ -18,7 +18,7 @@ image: ## Bitnami MongoDB image tag ## ref: https://hub.docker.com/r/bitnami/mongodb/tags/ ## - tag: 4.2.5-debian-10-r42 + tag: 4.2.5-debian-10-r43 ## Specify a imagePullPolicy ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images ##