Set time zone 27/727/2
authorSzekeres, Balazs (Nokia - HU/Budapest) <balazs.szekeres@nokia.com>
Fri, 17 May 2019 08:07:23 +0000 (10:07 +0200)
committerKrisztian Lengyel <krisztian.lengyel@nokia.com>
Mon, 27 May 2019 15:03:34 +0000 (11:03 -0400)
Flannel container now uses the host time zone settings.

Change-Id: Ia2e13078c5ab796f486a9ba6ea6e31ce4d916a47
Signed-off-by: Szekeres, Balazs (Nokia - HU/Budapest) <balazs.szekeres@nokia.com>
ansible/roles/flannel/templates/flannel-ds.yaml

index 90e7386..41e78a2 100644 (file)
@@ -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