aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/dep-drools.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/templates/dep-drools.yaml')
-rw-r--r--kubernetes/policy/templates/dep-drools.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/policy/templates/dep-drools.yaml b/kubernetes/policy/templates/dep-drools.yaml
index 101066fb40..96eb5f08e7 100644
--- a/kubernetes/policy/templates/dep-drools.yaml
+++ b/kubernetes/policy/templates/dep-drools.yaml
@@ -2,7 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: drools
- namespace: {{ .Values.NS }}
+ namespace: "{{ .Values.nsPrefix }}-policy"
spec:
replicas: 1
selector:
@@ -73,9 +73,9 @@ spec:
volumes:
- name: drools-settingsxml
hostPath:
- path: /dockerdata-nfs/onap/policy/drools/settings.xml
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/drools/settings.xml
- name: drools
hostPath:
- path: /dockerdata-nfs/onap/policy/opt/policy/config/drools/
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/drools/
imagePullSecrets:
- - name: onap-docker-registry-key
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"