mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/mongodb] Allow "existingSecret" without setting up non-root user (#12344)
Signed-off-by: Dzianis Dudnik <ddudnik@protonmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
540fa83cab
commit
a756589c7b
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user