Code Review
/
ta
/
caas-registry.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-registry.git]
/
ansible
/
roles
/
registry
/
templates
/
update
/
docker-registry-update.yml
diff --git
a/ansible/roles/registry/templates/update/docker-registry-update.yml
b/ansible/roles/registry/templates/update/docker-registry-update.yml
index
39b0ce9
..
483d6e9
100644
(file)
--- a/
ansible/roles/registry/templates/update/docker-registry-update.yml
+++ b/
ansible/roles/registry/templates/update/docker-registry-update.yml
@@
-51,6
+51,9
@@
spec:
- name: REGISTRY_CONFIG
value: /etc/docker-registry/docker-registry-update-config.yml
volumeMounts:
- name: REGISTRY_CONFIG
value: /etc/docker-registry/docker-registry-update-config.yml
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- name: config
mountPath: /etc/docker-registry/
readOnly: true
- name: config
mountPath: /etc/docker-registry/
readOnly: true
@@
-60,6
+63,9
@@
spec:
mountPath: /etc/ssl/certs/
readOnly: true
volumes:
mountPath: /etc/ssl/certs/
readOnly: true
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: config
hostPath:
path: /etc/docker-update-registry/
- name: config
hostPath:
path: /etc/docker-update-registry/