Mounting logback.xml file to champ MS
[oom.git] / kubernetes / vid / charts / vid-galera / templates / configmap.yaml
1 apiVersion: v1
2 kind: ConfigMap
3 metadata:
4   name: {{ include "common.fullname" . }}-confd
5   namespace: {{ include "common.namespace" . }}
6 data:
7 {{ tpl (.Files.Glob "resources/config/mariadb/conf.d/*").AsConfig . | indent 2 }}
8 ---
9 {{- if .Values.externalConfig }}
10 apiVersion: v1
11 kind: ConfigMap
12 metadata:
13   name: {{ include "common.fullname" . }}-externalconfig
14   namespace: {{ include "common.namespace" . }}
15 data:
16   my_extra.cnf: |-
17    [mysqld]
18    lower_case_table_names = 1
19
20 #{{ toYaml .Values.externalConfig | indent 4 }}
21 #{{- end -}}