mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
k8s-ci-robot
parent
27e0137cde
commit
d423645ac5
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user