Files
charts/bitnami/mongodb/templates/configmap.yaml
benjamin-wright 055679aac7 [bitnami/mongodb] adding local and global namespace overrides for mongodb (#2351)
* update to allow parent charts to override the namespace in the mongodb chart

* correct readme mistake

* add global namespace overrides

* reuse mongodb.namespace template

* add global namespace override to production values.yaml

* first of the review updates

* minor version bump

* remove redundant local namespaceOverride, can just use the global with fewer edge-cases

* typo in .values

* [bitnami/mongodb] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Ben Wright <benjamin.wright@nielsen.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Miguel Ángel Cabrera Miñagorri <macabrera@bitnami.com>
2020-04-22 09:49:49 +02:00

15 lines
405 B
YAML

{{- if .Values.configmap }}
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app: {{ template "mongodb.name" . }}
chart: {{ template "mongodb.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
name: {{ template "mongodb.fullname" . }}
namespace: {{ template "mongodb.namespace" . }}
data:
mongodb.conf: |-
{{ toYaml .Values.configmap | indent 4 }}
{{- end }}