summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/templates/vid-mariadb-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/vid/templates/vid-mariadb-deployment.yaml')
-rw-r--r--kubernetes/vid/templates/vid-mariadb-deployment.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/kubernetes/vid/templates/vid-mariadb-deployment.yaml b/kubernetes/vid/templates/vid-mariadb-deployment.yaml
index cf3b8a22e0..7623674ee9 100644
--- a/kubernetes/vid/templates/vid-mariadb-deployment.yaml
+++ b/kubernetes/vid/templates/vid-mariadb-deployment.yaml
@@ -4,7 +4,7 @@ metadata:
labels:
app: vid-mariadb
name: vid-mariadb
- namespace: {{ .Values.NS }}
+ namespace: "{{ .Values.nsPrefix }}-vid"
spec:
selector:
matchLabels:
@@ -45,12 +45,12 @@ spec:
volumes:
- name: vid-mariadb-data
hostPath:
- path: /dockerdata-nfs/onap/vid/mariadb/data
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/vid/mariadb/data
- name: vid-pre-init
hostPath:
- path: /dockerdata-nfs/onap/vid/vid/lf_config/vid-pre-init.sql
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/vid/vid/lf_config/vid-pre-init.sql
- name: my-cnf
hostPath:
- path: /dockerdata-nfs/onap/vid/vid/lf_config/vid-my.cnf
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/vid/vid/lf_config/vid-my.cnf
imagePullSecrets:
- - name: onap-docker-registry-key
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"