summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/dep-maria.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/templates/dep-maria.yaml')
-rw-r--r--kubernetes/policy/templates/dep-maria.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/policy/templates/dep-maria.yaml b/kubernetes/policy/templates/dep-maria.yaml
index 368d6381c8..e3c93d7fe6 100644
--- a/kubernetes/policy/templates/dep-maria.yaml
+++ b/kubernetes/policy/templates/dep-maria.yaml
@@ -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