vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame^] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
mayankg2703 | a2608a2 | 2018-01-17 11:30:14 +0000 | [diff] [blame] | 15 | #{{ if not .Values.disableClampClampMariadb }} |
| 16 | apiVersion: v1 |
| 17 | kind: ConfigMap |
| 18 | metadata: |
| 19 | name: clamp-entrypoint-initdb-configmap |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 20 | namespace: {{ include "common.namespace" . }} |
mayankg2703 | a2608a2 | 2018-01-17 11:30:14 +0000 | [diff] [blame] | 21 | data: |
| 22 | {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/*").AsConfig . | indent 2 }} |
| 23 | --- |
| 24 | apiVersion: v1 |
| 25 | kind: ConfigMap |
| 26 | metadata: |
| 27 | name: clamp-entrypoint-drop-configmap |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 28 | namespace: {{ include "common.namespace" . }} |
mayankg2703 | a2608a2 | 2018-01-17 11:30:14 +0000 | [diff] [blame] | 29 | data: |
| 30 | {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/drop/*").AsConfig . | indent 2 }} |
| 31 | --- |
| 32 | apiVersion: v1 |
| 33 | kind: ConfigMap |
| 34 | metadata: |
| 35 | name: clamp-entrypoint-bulkload-configmap |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 36 | namespace: {{ include "common.namespace" . }} |
mayankg2703 | a2608a2 | 2018-01-17 11:30:14 +0000 | [diff] [blame] | 37 | data: |
| 38 | {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/bulkload/*").AsConfig . | indent 2 }} |
| 39 | --- |
| 40 | apiVersion: v1 |
| 41 | kind: ConfigMap |
| 42 | metadata: |
| 43 | name: clamp-mariadb-conf-configmap |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 44 | namespace: {{ include "common.namespace" . }} |
mayankg2703 | a2608a2 | 2018-01-17 11:30:14 +0000 | [diff] [blame] | 45 | data: |
| 46 | {{ tpl (.Files.Glob "resources/config/mariadb/conf.d/conf1/*").AsConfig . | indent 2 }} |
| 47 | #{{ end }} |