[stable/mongodb] Fix primary statefulset when existing secret is provided (#9122)

Signed-off-by: András Tóth <andras.toth93@gmail.com>
This commit is contained in:
András Tóth
2018-11-09 00:01:07 -08:00
committed by k8s-ci-robot
parent 27e0137cde
commit d423645ac5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: mongodb
version: 4.8.2
version: 4.8.3
appVersion: 4.0.3
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
keywords:
@@ -77,7 +77,7 @@ spec:
- name: MONGODB_DATABASE
value: {{ .Values.mongodbDatabase | quote }}
{{- if .Values.usePassword }}
{{- if .Values.mongodbPassword }}
{{- if or .Values.mongodbPassword .Values.existingSecret }}
- name: MONGODB_PASSWORD
valueFrom:
secretKeyRef: