summaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/charts/mariadb/templates/deployment.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/deployment.yaml
parentdf31a724d919b39183df702f970ba4968c09d44e (diff)
parent37a4e701a2548b2e7f9084b809c89f495c243dd0 (diff)
Merge "[CLAMP] Allow to use ' in clamp mariadb passwords"
Diffstat (limited to 'kubernetes/clamp/charts/mariadb/templates/deployment.yaml')
-rw-r--r--kubernetes/clamp/charts/mariadb/templates/deployment.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/clamp/charts/mariadb/templates/deployment.yaml b/kubernetes/clamp/charts/mariadb/templates/deployment.yaml
index 7d22930b6a..b6af4e3d0b 100644
--- a/kubernetes/clamp/charts/mariadb/templates/deployment.yaml
+++ b/kubernetes/clamp/charts/mariadb/templates/deployment.yaml
@@ -61,6 +61,9 @@ spec:
- name: MYSQL_DATABASE
value: {{ tpl .Values.db.databaseName .}}
volumeMounts:
+ - mountPath: /docker-entrypoint.sh
+ subPath: docker-entrypoint.sh
+ name: init-script
- mountPath: /etc/localtime
name: localtime
readOnly: true
@@ -97,5 +100,9 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
+ - name: init-script
+ configMap:
+ name: {{ include "common.fullname" . }}
+ defaultMode: 0755
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"