summaryrefslogtreecommitdiffstats
path: root/kubernetes/mso/templates/db-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/mso/templates/db-deployment.yaml')
-rw-r--r--kubernetes/mso/templates/db-deployment.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/mso/templates/db-deployment.yaml b/kubernetes/mso/templates/db-deployment.yaml
index ff1cf75350..76cf2ec912 100644
--- a/kubernetes/mso/templates/db-deployment.yaml
+++ b/kubernetes/mso/templates/db-deployment.yaml
@@ -2,7 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: mariadb
- namespace: {{ .Values.NS }}
+ namespace: "{{ .Values.nsPrefix }}-mso"
spec:
replicas: 1
selector:
@@ -43,9 +43,9 @@ spec:
volumes:
- name: mso-mariadb-conf
hostPath:
- path: /dockerdata-nfs/onap/mso/mariadb/conf.d
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/mariadb/conf.d
- name: mso-mariadb-docker-entrypoint-initdb
hostPath:
- path: /dockerdata-nfs/onap/mso/mariadb/docker-entrypoint-initdb.d
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/mariadb/docker-entrypoint-initdb.d
imagePullSecrets:
- - name: onap-docker-registry-key
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"