diff --git a/bitnami/mongodb-sharded/Chart.yaml b/bitnami/mongodb-sharded/Chart.yaml index f4d42bff8..fcd39d395 100644 --- a/bitnami/mongodb-sharded/Chart.yaml +++ b/bitnami/mongodb-sharded/Chart.yaml @@ -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: diff --git a/bitnami/mongodb-sharded/templates/secrets.yaml b/bitnami/mongodb-sharded/templates/secrets.yaml index 3d5204801..c4647ec4a 100644 --- a/bitnami/mongodb-sharded/templates/secrets.yaml +++ b/bitnami/mongodb-sharded/templates/secrets.yaml @@ -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 }}