Containers time zone sync
[oom.git] / kubernetes / sdnc / templates / dgbuilder-deployment.yaml
index 6d911c3..ba2008a 100644 (file)
@@ -61,6 +61,14 @@ spec:
             port: 3100
           initialDelaySeconds: 5
           periodSeconds: 10
+        volumeMounts:
+        - name: localtime
+          mountPath: /etc/localtime
+          readOnly: true
       restartPolicy: Always
+      volumes:
+      - name: localtime
+        hostPath:
+          path: /etc/localtime
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"