Containers time zone sync
[oom.git] / kubernetes / mso / templates / db-deployment.yaml
index 389fb5a..4722c4a 100644 (file)
@@ -28,6 +28,9 @@ spec:
           - name: MARIADB_VERSION
             value: "10.1.11+maria-1~jessie"
         volumeMounts:
+        - mountPath: /etc/localtime
+          name: localtime
+          readOnly: true
         - mountPath: /etc/mysql/conf.d
           name: mso-mariadb-conf
         - mountPath: /docker-entrypoint-initdb.d
@@ -43,6 +46,9 @@ spec:
           initialDelaySeconds: 5
           periodSeconds: 10
       volumes:
+        - name: localtime
+          hostPath:
+            path: /etc/localtime
         - name: mso-mariadb-conf
           hostPath:
             path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/mariadb/conf.d