Containers time zone sync
[oom.git] / kubernetes / portal / templates / portal-widgets-deployment.yaml
index 5b020e5..fb6b4d8 100644 (file)
@@ -44,6 +44,9 @@ spec:
         imagePullPolicy: {{ .Values.pullPolicy }} 
         name: portalwidgets
         volumeMounts:
+        - mountPath: /etc/localtime
+          name: localtime
+          readOnly: true
         - mountPath: /application.properties
           name: portalwidgets-application-properties
         ports:
@@ -54,6 +57,9 @@ spec:
           initialDelaySeconds: 5
           periodSeconds: 10
       volumes:
+        - name: localtime
+          hostPath:
+            path: /etc/localtime
         - name: portalwidgets-application-properties
           hostPath:
             path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ECOMPWIDGETMS/application.properties