[bitnami/mongodb-sharded] fix: do not create secret when existingSecret (#4084)

Signed-off-by: darteaga <darteaga@vmware.com>
This commit is contained in:
Daniel Arteaga
2020-10-27 08:45:58 +01:00
committed by GitHub
parent b4923d4801
commit c4e157c060
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: mongodb-sharded
version: 2.1.4
version: 2.1.5
appVersion: 4.4.1
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications. Sharded topology.
keywords:

View File

@@ -1,3 +1,4 @@
{{- if not .Values.existingSecret }}
apiVersion: v1
kind: Secret
metadata:
@@ -26,3 +27,4 @@ data:
{{- else }}
mongodb-replica-set-key: {{ randAlphaNum 10 | b64enc | quote }}
{{- end }}
{{- end }}