mirror of
https://github.com/bitnami/charts.git
synced 2026-03-12 14:57:18 +08:00
* 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>
15 lines
513 B
YAML
15 lines
513 B
YAML
{{ if (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js|json]") }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "mongodb.fullname" . }}-init-scripts
|
|
namespace: {{ template "mongodb.namespace" . }}
|
|
labels:
|
|
app: {{ template "mongodb.name" . }}
|
|
chart: {{ template "mongodb.chart" . }}
|
|
release: {{ .Release.Name | quote }}
|
|
heritage: {{ .Release.Service | quote }}
|
|
data:
|
|
{{ tpl (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js|json]").AsConfig . | indent 2 }}
|
|
{{ end }}
|