[stable/mongodb] Allow "existingSecret" without setting up non-root user (#12344)

Signed-off-by: Dzianis Dudnik <ddudnik@protonmail.com>
This commit is contained in:
Denis Dudnik
2019-03-19 02:48:22 -07:00
committed by Kubernetes Prow Robot
parent 540fa83cab
commit a756589c7b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: mongodb
version: 5.13.0
version: 5.13.1
appVersion: 4.0.6
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
keywords:
@@ -111,7 +111,7 @@ spec:
value: {{ .Values.mongodbDatabase | quote }}
{{- end }}
{{- if .Values.usePassword }}
{{- if or .Values.mongodbPassword .Values.existingSecret }}
{{- if and .Values.mongodbUsername (or .Values.mongodbPassword .Values.existingSecret) }}
- name: MONGODB_PASSWORD
valueFrom:
secretKeyRef: