mayankg2703 | a2608a2 | 2018-01-17 11:30:14 +0000 | [diff] [blame^] | 1 | #{{ if not .Values.disableClampClampMariadb }} |
| 2 | apiVersion: v1 |
| 3 | kind: ConfigMap |
| 4 | metadata: |
| 5 | name: clamp-entrypoint-initdb-configmap |
| 6 | namespace: {{ .Values.nsPrefix }}-clamp |
| 7 | data: |
| 8 | {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/*").AsConfig . | indent 2 }} |
| 9 | --- |
| 10 | apiVersion: v1 |
| 11 | kind: ConfigMap |
| 12 | metadata: |
| 13 | name: clamp-entrypoint-drop-configmap |
| 14 | namespace: {{ .Values.nsPrefix }}-clamp |
| 15 | data: |
| 16 | {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/drop/*").AsConfig . | indent 2 }} |
| 17 | --- |
| 18 | apiVersion: v1 |
| 19 | kind: ConfigMap |
| 20 | metadata: |
| 21 | name: clamp-entrypoint-bulkload-configmap |
| 22 | namespace: {{ .Values.nsPrefix }}-clamp |
| 23 | data: |
| 24 | {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/bulkload/*").AsConfig . | indent 2 }} |
| 25 | --- |
| 26 | apiVersion: v1 |
| 27 | kind: ConfigMap |
| 28 | metadata: |
| 29 | name: clamp-mariadb-conf-configmap |
| 30 | namespace: {{ .Values.nsPrefix }}-clamp |
| 31 | data: |
| 32 | {{ tpl (.Files.Glob "resources/config/mariadb/conf.d/conf1/*").AsConfig . | indent 2 }} |
| 33 | #{{ end }} |