From: Szekeres, Balazs (Nokia - HU/Budapest) Date: Fri, 17 May 2019 08:07:23 +0000 (+0200) Subject: Set time zone X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcaas-danm.git;a=commitdiff_plain;h=97f61e99faf44df35648c23c9497f4c4248ca6a6 Set time zone Flannel container now uses the host time zone settings. Change-Id: Ia2e13078c5ab796f486a9ba6ea6e31ce4d916a47 Signed-off-by: Szekeres, Balazs (Nokia - HU/Budapest) --- diff --git a/ansible/roles/flannel/templates/flannel-ds.yaml b/ansible/roles/flannel/templates/flannel-ds.yaml index 90e7386..41e78a2 100644 --- a/ansible/roles/flannel/templates/flannel-ds.yaml +++ b/ansible/roles/flannel/templates/flannel-ds.yaml @@ -63,11 +63,17 @@ spec: fieldRef: fieldPath: metadata.namespace volumeMounts: + - name: time-mount + mountPath: /etc/localtime + readOnly: true - name: run mountPath: /run - name: flannel-cfg mountPath: /etc/kube-flannel/ volumes: + - name: time-mount + hostPath: + path: /etc/localtime - name: run hostPath: path: /run