mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/mongodb] Use .Values.existingSecret for standalone deployments (#7839)
* Use .Values.existingSecret for standalone deployments Signed-off-by: Rich Adams <richard.adams@intelight-its.com> * Bumping chart version Signed-off-by: Rich Adams <richard.adams@intelight-its.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: mongodb
|
||||
version: 4.3.4
|
||||
version: 4.3.5
|
||||
appVersion: 4.0.2
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
keywords:
|
||||
|
||||
@@ -55,7 +55,7 @@ spec:
|
||||
- name: MONGODB_ROOT_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "mongodb.fullname" . }}
|
||||
name: {{ if .Values.existingSecret }}{{ .Values.existingSecret }}{{- else }}{{ template "mongodb.fullname" . }}{{- end }}
|
||||
key: mongodb-root-password
|
||||
{{- end }}
|
||||
- name: MONGODB_USERNAME
|
||||
@@ -64,7 +64,7 @@ spec:
|
||||
- name: MONGODB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "mongodb.fullname" . }}
|
||||
name: {{ if .Values.existingSecret }}{{ .Values.existingSecret }}{{- else }}{{ template "mongodb.fullname" . }}{{- end }}
|
||||
key: mongodb-password
|
||||
{{- end }}
|
||||
- name: MONGODB_DATABASE
|
||||
|
||||
Reference in New Issue
Block a user