Registy container now uses the host time zone settings.
Registry update container now uses the host time zone settings.
Change-Id: I115cc0eb3049c759cbefb9b7fd39ac06fd021e04
Signed-off-by: Szekeres, Balazs (Nokia - HU/Budapest) <balazs.szekeres@nokia.com>
- name: REGISTRY_CONFIG
value: /etc/docker-registry/docker-registry-main-config.yml
volumeMounts:
+ - name: time-mount
+ mountPath: /etc/localtime
+ readOnly: true
- name: config
mountPath: /etc/docker-registry/
readOnly: true
mountPath: /etc/ssl/certs/
readOnly: true
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: config
hostPath:
path: /etc/docker-registry/
- 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
mountPath: /etc/ssl/certs/
readOnly: true
volumes:
+ - name: time-mount
+ hostPath:
+ path: /etc/localtime
- name: config
hostPath:
path: /etc/docker-update-registry/