summaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/templates/clamp-mariadb-configmap.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-01-24 14:50:21 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-24 14:50:21 +0000
commit2e533498b23e25d7e5fa31862f0f73e9c2329b11 (patch)
tree1d262ec9f0b9e8a80d6a28cde4a1318288dd3670 /kubernetes/clamp/templates/clamp-mariadb-configmap.yaml
parent85091152dd3a572f1ef33c73ff07446af1b97a57 (diff)
parenta2608a283531785a7595b122f9f406da99925a25 (diff)
Merge "clamp config seg"
Diffstat (limited to 'kubernetes/clamp/templates/clamp-mariadb-configmap.yaml')
-rw-r--r--kubernetes/clamp/templates/clamp-mariadb-configmap.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/kubernetes/clamp/templates/clamp-mariadb-configmap.yaml b/kubernetes/clamp/templates/clamp-mariadb-configmap.yaml
new file mode 100644
index 0000000000..1fdc155104
--- /dev/null
+++ b/kubernetes/clamp/templates/clamp-mariadb-configmap.yaml
@@ -0,0 +1,33 @@
+#{{ if not .Values.disableClampClampMariadb }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: clamp-entrypoint-initdb-configmap
+ namespace: {{ .Values.nsPrefix }}-clamp
+data:
+{{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: clamp-entrypoint-drop-configmap
+ namespace: {{ .Values.nsPrefix }}-clamp
+data:
+{{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/drop/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: clamp-entrypoint-bulkload-configmap
+ namespace: {{ .Values.nsPrefix }}-clamp
+data:
+{{ tpl (.Files.Glob "resources/config/mariadb/docker-entrypoint-initdb.d/bulkload/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: clamp-mariadb-conf-configmap
+ namespace: {{ .Values.nsPrefix }}-clamp
+data:
+{{ tpl (.Files.Glob "resources/config/mariadb/conf.d/conf1/*").AsConfig . | indent 2 }}
+#{{ end }}