Containers time zone sync
[oom.git] / kubernetes / policy / templates / dep-drools.yaml
index 75055c1..9c3fc29 100644 (file)
@@ -64,11 +64,17 @@ spec:
           initialDelaySeconds: 5
           periodSeconds: 10
         volumeMounts:
+        - mountPath: /etc/localtime
+          name: localtime
+          readOnly: true
         - mountPath: /tmp/policy-install/config
           name: drools
         - mountPath: /usr/share/maven/conf/settings.xml
           name: drools-settingsxml
       volumes:
+        - name: localtime
+          hostPath:
+            path: /etc/localtime
         - name: drools-settingsxml
           hostPath:
             path:  /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/drools/settings.xml