Containers time zone sync
[oom.git] / kubernetes / robot / templates / robot-deployment.yaml
index 3a98f87..da017db 100644 (file)
@@ -18,6 +18,9 @@ spec:
         imagePullPolicy: {{ .Values.pullPolicy }}
         name: robot
         volumeMounts:
+        - name: localtime
+          mountPath: /etc/localtime
+          readOnly: true
         - name: robot-eteshare
           mountPath: /share
         - name: robot-resources-asdc-interface
@@ -44,6 +47,9 @@ spec:
           initialDelaySeconds: 5
           periodSeconds: 10
       volumes:
+        - name: localtime
+          hostPath:
+            path: /etc/localtime
         - name: robot-eteshare
           hostPath:
             path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare