blob: 094a76cf4555063b8f14eada78d8f03769cc077a [file] [log] [blame]
vitalied1e5876c2018-03-29 10:24:27 -05001apiVersion: v1
2kind: ConfigMap
3metadata:
4 name: {{ include "common.fullname" . }}-confd
5 namespace: {{ include "common.namespace" . }}
6data:
7{{ tpl (.Files.Glob "resources/config/mariadb/conf.d/*").AsConfig . | indent 2 }}
8---
9{{- if .Values.externalConfig }}
10apiVersion: v1
11kind: ConfigMap
12metadata:
13 name: {{ include "common.fullname" . }}-externalConfig
14 namespace: {{ include "common.namespace" . }}
15data:
16 my_extra.cnf: |-
17{{ toYaml .Values.externalConfig | indent 4 }}
18{{- end -}}