summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/templates/portal-mariadb-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/portal/templates/portal-mariadb-deployment.yaml')
-rwxr-xr-xkubernetes/portal/templates/portal-mariadb-deployment.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/portal/templates/portal-mariadb-deployment.yaml b/kubernetes/portal/templates/portal-mariadb-deployment.yaml
index cf8bbd68e0..a31c6a24b2 100755
--- a/kubernetes/portal/templates/portal-mariadb-deployment.yaml
+++ b/kubernetes/portal/templates/portal-mariadb-deployment.yaml
@@ -2,7 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: portaldb
- namespace: {{ .Values.NS }}
+ namespace: "{{ .Values.nsPrefix }}-portal"
spec:
selector:
matchLabels:
@@ -19,7 +19,7 @@ spec:
name: "portaldb"
env:
- name: MYSQL_HOST
- value: portaldb.onap-portal
+ value: "portaldb.{{ .Values.nsPrefix }}-portal"
- name: MYSQL_ROOT_PASSWORD
value: password
volumeMounts:
@@ -36,6 +36,6 @@ spec:
volumes:
- name: portal-mariadb-data
hostPath:
- path: /dockerdata-nfs/onap/portal/mariadb/data
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/mariadb/data
imagePullSecrets:
- - name: onap-docker-registry-key
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"