Merge "Containers time zone sync"
[oom.git] / kubernetes / policy / templates / dep-maria.yaml
index 368d638..e3c93d7 100644 (file)
@@ -20,6 +20,9 @@ spec:
         ports:
         - containerPort: 3306
         volumeMounts:
+        - mountPath: /etc/localtime
+          name: localtime
+          readOnly: true
         - mountPath: /var/lib/mysql
           name: policy-mariadb-data
         readinessProbe:
@@ -28,6 +31,9 @@ spec:
           initialDelaySeconds: 5
           periodSeconds: 10
       volumes:
+      - name: localtime
+        hostPath:
+          path: /etc/localtime
       - name: policy-mariadb-data
         persistentVolumeClaim:
           claimName: policy-db