Containers time zone sync
[oom.git] / kubernetes / sdnc / templates / web-deployment.yaml
index a141e76..4f7886d 100644 (file)
@@ -56,11 +56,19 @@ spec:
         name: sdnc-portal-container
         ports:
         - containerPort: 8843
+        volumeMounts:
+        - name: localtime
+          mountPath: /etc/localtime
+          readOnly: true
         readinessProbe:
           tcpSocket:
             port: 8843
           initialDelaySeconds: 5
           periodSeconds: 10
       restartPolicy: Always
+      volumes:
+      - name: localtime
+        hostPath:
+          path: /etc/localtime
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"