blob: ea90cd3e45de2cf69633dbc5d462e76f071b9adb [file] [log] [blame]
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +03001apiVersion: 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 [mysqld]
18 lower_case_table_names = 1
19
20#{{ toYaml .Values.externalConfig | indent 4 }}
21#{{- end -}}