summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates/sdc-be.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdc/templates/sdc-be.yaml')
-rw-r--r--kubernetes/sdc/templates/sdc-be.yaml14
1 files changed, 7 insertions, 7 deletions
diff --git a/kubernetes/sdc/templates/sdc-be.yaml b/kubernetes/sdc/templates/sdc-be.yaml
index 96fee818da..38a239e714 100644
--- a/kubernetes/sdc/templates/sdc-be.yaml
+++ b/kubernetes/sdc/templates/sdc-be.yaml
@@ -4,7 +4,7 @@ metadata:
labels:
app: sdc-be
name: sdc-be
- namespace: {{ .Values.NS }}
+ namespace: "{{ .Values.nsPrefix }}-sdc"
spec:
selector:
matchLabels:
@@ -54,7 +54,7 @@ spec:
"env": [
{
"name": "NAMESPACE",
- "value": "onap-message-router"
+ "value": "{{ .Values.nsPrefix }}-message-router"
}
],
"image": "{{ .Values.image.readiness }}",
@@ -96,18 +96,18 @@ spec:
volumes:
- name: sdc-sdc-es-es
hostPath:
- path: /dockerdata-nfs/onap/sdc/sdc-es/ES
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/sdc-es/ES
- name: sdc-environments
hostPath:
- path: /dockerdata-nfs/onap/sdc/environments
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/environments
- name: sdc-jetty-keystore
hostPath:
- path: /dockerdata-nfs/onap/sdc/jetty/keystore
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/jetty/keystore
- name: sdc-localtime
hostPath:
path: /etc/localtime
- name: sdc-logs
hostPath:
- path: /dockerdata-nfs/onap/sdc/logs
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/logs
imagePullSecrets:
- - name: onap-docker-registry-key
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"