synching up SO 1.1
[oom.git] / kubernetes / mso / templates / db-deployment.yaml
index 389fb5a..d105744 100644 (file)
@@ -4,7 +4,6 @@ metadata:
   name: mariadb
   namespace: "{{ .Values.nsPrefix }}-mso"
 spec:
-  replicas: 1
   selector:
     matchLabels:
       app: mariadb
@@ -23,11 +22,10 @@ spec:
         env:
           - name: MYSQL_ROOT_PASSWORD
             value: password
-          - name: MARIADB_MAJOR
-            value: "10.1"
-          - name: MARIADB_VERSION
-            value: "10.1.11+maria-1~jessie"
         volumeMounts:
+        - mountPath: /etc/localtime
+          name: localtime
+          readOnly: true
         - mountPath: /etc/mysql/conf.d
           name: mso-mariadb-conf
         - mountPath: /docker-entrypoint-initdb.d
@@ -43,6 +41,9 @@ spec:
           initialDelaySeconds: 5
           periodSeconds: 10
       volumes:
+        - name: localtime
+          hostPath:
+            path: /etc/localtime
         - name: mso-mariadb-conf
           hostPath:
             path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/mariadb/conf.d