summaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/charts/mariadb/templates/configmap.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-05-26 16:49:05 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-26 16:49:05 +0000
commitdbab15fde615d85748f4664bf16376f5643453ac (patch)
treeb312c44a111b44a3f8494424ccd491219478214d /kubernetes/clamp/charts/mariadb/templates/configmap.yaml
parentdf31a724d919b39183df702f970ba4968c09d44e (diff)
parent37a4e701a2548b2e7f9084b809c89f495c243dd0 (diff)
Merge "[CLAMP] Allow to use ' in clamp mariadb passwords"
Diffstat (limited to 'kubernetes/clamp/charts/mariadb/templates/configmap.yaml')
-rw-r--r--kubernetes/clamp/charts/mariadb/templates/configmap.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/kubernetes/clamp/charts/mariadb/templates/configmap.yaml b/kubernetes/clamp/charts/mariadb/templates/configmap.yaml
index 522c5f9bf8..01420aa97b 100644
--- a/kubernetes/clamp/charts/mariadb/templates/configmap.yaml
+++ b/kubernetes/clamp/charts/mariadb/templates/configmap.yaml
@@ -39,4 +39,17 @@ metadata:
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/config/mariadb/conf.d/conf1/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ include "common.release" . }}
+ heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "resources/config/init/*").AsConfig . | indent 2 }}
#{{ end }}