summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml')
-rw-r--r--kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml b/kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml
index e3f324e046..43480398f1 100644
--- a/kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml
+++ b/kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml
@@ -55,7 +55,7 @@ spec:
- command:
- /opt/onap/sdnc/ueb-listener/bin/start-ueb-listener.sh
name: {{ include "common.name" . }}
- image: "{{ .Values.global.repository | default .Values.repository }}/{{ .Values.image }}"
+ image: "{{ include "common.repository" . }}/{{ .Values.image }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: PROPERTY_DIR
@@ -66,9 +66,8 @@ spec:
- mountPath: /etc/localtime
name: localtime
readOnly: true
- - mountPath: /opt/onap/sdnc/data/properties/ueb-listener.properties
- subPath: ueb-listener.properties
- name: ueb-config
+ - mountPath: {{ .Values.config.configDir }}
+ name: {{ include "common.fullname" . }}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -84,8 +83,8 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
- - name: ueb-config
+ - name: {{ include "common.fullname" . }}
configMap:
- name: sdnc-ueb-configmap
+ name: {{ include "common.fullname" . }}
imagePullSecrets:
- - name: "{{ include "common.namespace" . }}-docker-registry-key" \ No newline at end of file
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"