General cleanup of SDNC charts
[oom.git] / kubernetes / sdnc / charts / dmaap-listener / templates / deployment.yaml
index db32362..1a13cc3 100644 (file)
@@ -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"