Containers time zone sync
[oom.git] / kubernetes / vid / templates / vid-server-deployment.yaml
index c535b44..69c0b57 100644 (file)
@@ -88,10 +88,18 @@ spec:
         name: vid-server
         ports:
         - containerPort: 8080
+        volumeMounts:
+        - mountPath: /etc/localtime
+          name: localtime
+          readOnly: true
         readinessProbe:
           tcpSocket:
             port: 8080
           initialDelaySeconds: 5
           periodSeconds: 10
+      volumes:
+        - name: localtime
+          hostPath:
+            path: /etc/localtime
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"