summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/db-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdnc/templates/db-deployment.yaml')
-rw-r--r--kubernetes/sdnc/templates/db-deployment.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/sdnc/templates/db-deployment.yaml b/kubernetes/sdnc/templates/db-deployment.yaml
index 1a2ecbae66..fc692ba58e 100644
--- a/kubernetes/sdnc/templates/db-deployment.yaml
+++ b/kubernetes/sdnc/templates/db-deployment.yaml
@@ -2,7 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: sdnc-dbhost
- namespace: {{ .Values.NS }}
+ namespace: "{{ .Values.nsPrefix }}-sdnc"
spec:
selector:
matchLabels:
@@ -35,6 +35,6 @@ spec:
volumes:
- name: sdnc-data
hostPath:
- path: /dockerdata-nfs/onapdemo/sdnc/data
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/data
imagePullSecrets:
- - name: onap-docker-registry-key
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"