Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Containers time zone sync"
[oom.git]
/
kubernetes
/
policy
/
templates
/
dep-maria.yaml
diff --git
a/kubernetes/policy/templates/dep-maria.yaml
b/kubernetes/policy/templates/dep-maria.yaml
index
368d638
..
e3c93d7
100644
(file)
--- a/
kubernetes/policy/templates/dep-maria.yaml
+++ b/
kubernetes/policy/templates/dep-maria.yaml
@@
-20,6
+20,9
@@
spec:
ports:
- containerPort: 3306
volumeMounts:
ports:
- containerPort: 3306
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /var/lib/mysql
name: policy-mariadb-data
readinessProbe:
- mountPath: /var/lib/mysql
name: policy-mariadb-data
readinessProbe:
@@
-28,6
+31,9
@@
spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: policy-mariadb-data
persistentVolumeClaim:
claimName: policy-db
- name: policy-mariadb-data
persistentVolumeClaim:
claimName: policy-db