mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
helm3 update - changes to get the template rendered (#21630)
* update for helm3 Signed-off-by: Srinivasa Vasu <srinivasan.surprise@gmail.com> * update chart version Signed-off-by: Srinivasa Vasu <srinivasan.surprise@gmail.com> * reset global logic changes;conditional logic updated Signed-off-by: Srinivasa Vasu <srinivasan.surprise@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: mongodb-replicaset
|
||||
home: https://github.com/mongodb/mongo
|
||||
version: 3.14.0
|
||||
version: 3.14.1
|
||||
appVersion: 3.6
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with
|
||||
dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
|
||||
@@ -81,9 +81,13 @@ Create the name for the key secret.
|
||||
Allow the release namespace to be overridden for multi-namespace deployments in combined charts.
|
||||
*/}}
|
||||
{{- define "mongodb-replicaset.namespace" -}}
|
||||
{{- if and ((hasKey .Values "global") .Values.global.namespaceOverride) -}}
|
||||
{{- .Values.global.namespaceOverride -}}
|
||||
{{- if .Values.global -}}
|
||||
{{- if .Values.global.namespaceOverride -}}
|
||||
{{- .Values.global.namespaceOverride -}}
|
||||
{{- else -}}
|
||||
{{- .Release.Namespace -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- .Release.Namespace -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -3,8 +3,8 @@ nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
# Override the deployment namespace
|
||||
# global:
|
||||
# namespaceOverride: ""
|
||||
global:
|
||||
# namespaceOverride: ""
|
||||
|
||||
replicas: 3
|
||||
port: 27017
|
||||
|
||||
Reference in New Issue
Block a user