Code Review
/
ta
/
caas-kubedns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Set time zone
[ta/caas-kubedns.git]
/
ansible
/
roles
/
kubedns
/
templates
/
kubedns-deployment.yml
diff --git
a/ansible/roles/kubedns/templates/kubedns-deployment.yml
b/ansible/roles/kubedns/templates/kubedns-deployment.yml
index
d60e692
..
bd55989
100644
(file)
--- a/
ansible/roles/kubedns/templates/kubedns-deployment.yml
+++ b/
ansible/roles/kubedns/templates/kubedns-deployment.yml
@@
-42,6
+42,9
@@
spec:
- key: "CriticalAddonsOnly"
operator: "Exists"
volumes:
- key: "CriticalAddonsOnly"
operator: "Exists"
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: secret
hostPath:
path: /etc/kubernetes/ssl
- name: secret
hostPath:
path: /etc/kubernetes/ssl
@@
-106,6
+109,9
@@
spec:
name: metrics
protocol: TCP
volumeMounts:
name: metrics
protocol: TCP
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- name: secret
mountPath: /etc/kubernetes/ssl
readOnly: true
- name: secret
mountPath: /etc/kubernetes/ssl
readOnly: true
@@
-152,6
+158,9
@@
spec:
cpu: 150m
memory: 20Mi
volumeMounts:
cpu: 150m
memory: 20Mi
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- name: secret
mountPath: /etc/kubernetes/ssl
readOnly: true
- name: secret
mountPath: /etc/kubernetes/ssl
readOnly: true