summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/charts/portal-mariadb/templates
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2019-01-08 17:53:33 -0500
committerAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2019-01-10 18:54:29 +0000
commitdfb906669e2e80b6e76e446602b25b101771ff1f (patch)
tree159b2fbd401eb7807b036318025d8b62bb988d49 /kubernetes/portal/charts/portal-mariadb/templates
parentd9a8c9ed9247bd82a23d413882a08f63c63dda70 (diff)
MariaDB startup issue
Issue-ID: PORTAL-399 Change-Id: I7fd4fbbb0707e0b00d652eca812f4079a3f10a59 Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'kubernetes/portal/charts/portal-mariadb/templates')
-rw-r--r--kubernetes/portal/charts/portal-mariadb/templates/deployment.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/portal/charts/portal-mariadb/templates/deployment.yaml b/kubernetes/portal/charts/portal-mariadb/templates/deployment.yaml
index 20fa9cecc2..f826c9c297 100644
--- a/kubernetes/portal/charts/portal-mariadb/templates/deployment.yaml
+++ b/kubernetes/portal/charts/portal-mariadb/templates/deployment.yaml
@@ -65,6 +65,9 @@ spec:
- mountPath: /etc/localtime
name: localtime
readOnly: true
+ - mountPath: /usr/local/bin/docker-entrypoint.sh
+ subPath: docker-entrypoint.sh
+ name: docker-entry
resources:
{{ include "common.resources" . | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -86,5 +89,9 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
+ - name: docker-entry
+ configMap:
+ name: {{ include "common.fullname" . }}-mariadb
+ defaultMode: 0755
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"