aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/charts/dmaap-listener/templates/deployment.yaml
diff options
context:
space:
mode:
authorjmac <james.macnider@amdocs.com>2018-05-10 22:44:19 +0000
committerjmac <james.macnider@amdocs.com>2018-05-11 14:23:48 +0000
commita68f4cb5db47f41deac439b9ef90065e023af3fe (patch)
tree2aa0ac20a039f901a029ef2570c1b1a8977b102d /kubernetes/sdnc/charts/dmaap-listener/templates/deployment.yaml
parent463c20ba29c4d6723c0a176967b492d1d28196ae (diff)
General cleanup of SDNC charts
Addressing issues like: - missing property files - hard-coded ports - hard-coded ODL passwords - improper configMap mounts - incorrect service names Change-Id: I74726ffedbfc20e164a814ca8777a699b92b3d65 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: SDNC-310
Diffstat (limited to 'kubernetes/sdnc/charts/dmaap-listener/templates/deployment.yaml')
-rw-r--r--kubernetes/sdnc/charts/dmaap-listener/templates/deployment.yaml13
1 files changed, 10 insertions, 3 deletions
diff --git a/kubernetes/sdnc/charts/dmaap-listener/templates/deployment.yaml b/kubernetes/sdnc/charts/dmaap-listener/templates/deployment.yaml
index db32362c3d..1a13cc3595 100644
--- a/kubernetes/sdnc/charts/dmaap-listener/templates/deployment.yaml
+++ b/kubernetes/sdnc/charts/dmaap-listener/templates/deployment.yaml
@@ -64,9 +64,15 @@ spec:
- mountPath: /etc/localtime
name: localtime
readOnly: true
+ - mountPath: {{ .Values.config.configDir }}/dblib.properties
+ name: properties
+ subPath: dblib.properties
- mountPath: {{ .Values.config.configDir }}/dhcpalert.properties
+ name: properties
subPath: dhcpalert.properties
- name: dmaap-dhcapalert-config
+ - mountPath: {{ .Values.config.configDir }}/lcm.properties
+ name: properties
+ subPath: lcm.properties
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -82,8 +88,9 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
- - name: dmaap-dhcapalert-config
+ - name: properties
configMap:
- name: sdnc-dmaap-configmap
+ name: {{ include "common.fullname" . }}
+ defaultMode: 0644
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"