X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fmso%2Ftemplates%2Fdb-deployment.yaml;h=389fb5ab75ef2f52eb84496bc5a5eb831ceb4b2a;hb=66a9a5c4a387974e81b210fc9fa0024239582027;hp=76cf2ec91277eaf76b90823bd97d10d86e7efd8f;hpb=449c79f95b84e406d0ad5a0a9fa1d5de4d65b55d;p=oom.git diff --git a/kubernetes/mso/templates/db-deployment.yaml b/kubernetes/mso/templates/db-deployment.yaml index 76cf2ec912..389fb5ab75 100644 --- a/kubernetes/mso/templates/db-deployment.yaml +++ b/kubernetes/mso/templates/db-deployment.yaml @@ -32,6 +32,8 @@ spec: name: mso-mariadb-conf - mountPath: /docker-entrypoint-initdb.d name: mso-mariadb-docker-entrypoint-initdb + - mountPath: /var/lib/mysql + name: mso-mariadb-data ports: - containerPort: 3306 name: mariadb @@ -47,5 +49,8 @@ spec: - name: mso-mariadb-docker-entrypoint-initdb hostPath: path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/mariadb/docker-entrypoint-initdb.d + - name: mso-mariadb-data + persistentVolumeClaim: + claimName: mso-db imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key"