Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
MariaDB startup issue
[oom.git]
/
kubernetes
/
portal
/
charts
/
portal-mariadb
/
templates
/
deployment.yaml
diff --git
a/kubernetes/portal/charts/portal-mariadb/templates/deployment.yaml
b/kubernetes/portal/charts/portal-mariadb/templates/deployment.yaml
index
20fa9ce
..
aeaef14
100644
(file)
--- 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: /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 }}
resources:
{{ include "common.resources" . | indent 12 }}
{{- if .Values.nodeSelector }}
@@
-86,5
+89,9
@@
spec:
- name: localtime
hostPath:
path: /etc/localtime
- 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"
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"