License addition in all yamls
[oom.git] / kubernetes / so / charts / mariadb / templates / configmap.yaml
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
15 apiVersion: v1
16 kind: ConfigMap
17 metadata:
18   name: confd-configmap
19   namespace: {{ include "common.namespace" . }}
20 data:
21 {{ tpl (.Files.Glob "resources/config/mariadb/conf.d/*").AsConfig . | indent 2 }}
22 ---
23 apiVersion: v1
24 kind: ConfigMap
25 metadata:
26   name: docker-entry-initd-configmap
27   namespace: {{ include "common.namespace" . }}
28 data:
29 {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/*").AsConfig . | indent 2 }}
30 ---
31 apiVersion: v1
32 kind: ConfigMap
33 metadata:
34   name: automated-tests-configmap
35   namespace: {{ include "common.namespace" . }}
36 data:
37 {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/bulkload-files/automated-tests/*").AsConfig . | indent 2 }}
38 ---
39 apiVersion: v1
40 kind: ConfigMap
41 metadata:
42   name: bulkload-default-configmap
43   namespace: {{ include "common.namespace" . }}
44 data:
45 {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/bulkload-files/default/*").AsConfig . | indent 2 }}
46 ---
47 apiVersion: v1
48 kind: ConfigMap
49 metadata:
50   name: demo-dns-configmap
51   namespace: {{ include "common.namespace" . }}
52 data:
53 {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/bulkload-files/demo-dns/*").AsConfig . | indent 2 }}
54 ---
55 apiVersion: v1
56 kind: ConfigMap
57 metadata:
58   name: demo-vfw-configmap
59   namespace: {{ include "common.namespace" . }}
60 data:
61 {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/bulkload-files/demo-vfw/*").AsConfig . | indent 2 }}
62 ---
63 apiVersion: v1
64 kind: ConfigMap
65 metadata:
66   name: scripts-camunda-configmap
67   namespace: {{ include "common.namespace" . }}
68 data:
69 {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/camunda/*").AsConfig . | indent 2 }}
70 ---
71 apiVersion: v1
72 kind: ConfigMap
73 metadata:
74   name: main-schemas-configmap
75   namespace: {{ include "common.namespace" . }}
76 data:
77 {{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/main-schemas/*").AsConfig . | indent 2 }}