updating helm/docker files and database config files
[it/otf.git] / otf-helm / otf / charts / databases / mongodb / templates / configmap.yaml
diff --git a/otf-helm/otf/charts/databases/mongodb/templates/configmap.yaml b/otf-helm/otf/charts/databases/mongodb/templates/configmap.yaml
new file mode 100644 (file)
index 0000000..b87bb1e
--- /dev/null
@@ -0,0 +1,15 @@
+{{- 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: {{.Values.namespace }}
+data:
+  mongodb.conf: |-
+{{ toYaml .Values.configmap | indent 4 }}
+{{- end }}