summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/templates/portal-mariadb-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/portal/templates/portal-mariadb-deployment.yaml')
-rwxr-xr-xkubernetes/portal/templates/portal-mariadb-deployment.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/portal/templates/portal-mariadb-deployment.yaml b/kubernetes/portal/templates/portal-mariadb-deployment.yaml
index 16c0d7e6d2..f4e46ab062 100755
--- a/kubernetes/portal/templates/portal-mariadb-deployment.yaml
+++ b/kubernetes/portal/templates/portal-mariadb-deployment.yaml
@@ -23,6 +23,9 @@ spec:
- name: MYSQL_ROOT_PASSWORD
value: password
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /var/lib/mysql
name: portal-mariadb-data
ports:
@@ -34,6 +37,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: portal-mariadb-data
persistentVolumeClaim:
claimName: portal-db