Containers time zone sync
[oom.git] / kubernetes / mso / templates / mso-deployment.yaml
index 9414990..8973db3 100644 (file)
@@ -47,12 +47,11 @@ spec:
         imagePullPolicy: {{ .Values.pullPolicy }}
         name: mso
         volumeMounts:
+        - mountPath: /etc/localtime
+          name: localtime
+          readOnly: true
         - mountPath: /shared
           name: mso
-        - mountPath: /shared/aai.crt
-          name: mso-aai-crt
-        - mountPath: /shared/encryption.key
-          name: mso-key
         - mountPath: /docker-files
           name: mso-docker-files
         env:
@@ -70,17 +69,14 @@ spec:
           initialDelaySeconds: 5
           periodSeconds: 10
       volumes:
+        - name: localtime
+          hostPath:
+            path: /etc/localtime
         - name: mso
           hostPath:
             path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/mso
         - name: mso-docker-files
           hostPath:
             path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/docker-files
-        - name: mso-aai-crt
-          secret:
-            secretName: secret-{{ .Values.nsPrefix }}-mso
-        - name: mso-key
-          secret:
-            secretName: secret-{{ .Values.nsPrefix }}-mso
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"