Containers time zone sync
[oom.git] / kubernetes / sdc / templates / sdc-cs.yaml
index b660c90..844bd20 100644 (file)
@@ -61,6 +61,7 @@ spec:
           name: sdc-environments
         - mountPath: /etc/localtime
           name: sdc-localtime
+          readOnly: true
         - mountPath: /var/lib/jetty/logs
           name: sdc-logs
         ports:
@@ -73,8 +74,8 @@ spec:
           periodSeconds: 10
       volumes:
         - name: sdc-sdc-cs-cs
-          hostPath:
-            path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/sdc-cs/CS
+          persistentVolumeClaim:
+            claimName: sdc-cs-db
         - name: sdc-environments
           hostPath:
             path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/environments