summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/message-router/templates
diff options
context:
space:
mode:
authorsu622b <su622b@att.com>2019-08-08 00:28:29 -0400
committersunil unnava <su622b@att.com>2019-08-08 21:04:25 +0000
commitfdce6590ce5747ddc87baf74dd902dae6ee035e7 (patch)
tree86ca0313e4690c1890ebb1d4461f1053acd31127 /kubernetes/dmaap/components/message-router/templates
parent2953b3f6b4b9cfc1f45b6bcccc4392582778ac3b (diff)
DMaaP MR changes for ElAlto early drop
Issue-ID: DMAAP-1270 Change-Id: Icd0cf60921750b84840a5a344eb15a736684e329 Signed-off-by: su622b <su622b@att.com>
Diffstat (limited to 'kubernetes/dmaap/components/message-router/templates')
-rw-r--r--kubernetes/dmaap/components/message-router/templates/configmap.yaml15
-rw-r--r--kubernetes/dmaap/components/message-router/templates/statefulset.yaml6
2 files changed, 21 insertions, 0 deletions
diff --git a/kubernetes/dmaap/components/message-router/templates/configmap.yaml b/kubernetes/dmaap/components/message-router/templates/configmap.yaml
index e2e0da51fd..f84915a9e0 100644
--- a/kubernetes/dmaap/components/message-router/templates/configmap.yaml
+++ b/kubernetes/dmaap/components/message-router/templates/configmap.yaml
@@ -39,6 +39,21 @@ metadata:
data:
{{ tpl (.Files.Glob "resources/config/dmaap/cadi.properties").AsConfig . | indent 2 }}
---
+
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-logback-xml-configmap
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "resources/config/dmaap/logback.xml").AsConfig . | indent 2 }}
+---
+
apiVersion: v1
kind: ConfigMap
metadata:
diff --git a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml
index 7bf88f5f8e..f7b51d1b9e 100644
--- a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml
+++ b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml
@@ -76,6 +76,9 @@ spec:
- mountPath: /appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
subPath: MsgRtrApi.properties
name: appprops
+ - mountPath: /appl/dmaapMR1/bundleconfig/etc/logback.xml
+ subPath: logback.xml
+ name: logback
- mountPath: /appl/dmaapMR1/etc/cadi.properties
subPath: cadi.properties
name: cadi
@@ -91,6 +94,9 @@ spec:
- name: appprops
configMap:
name: {{ include "common.fullname" . }}-msgrtrapi-prop-configmap
+ - name: logback
+ configMap:
+ name: {{ include "common.fullname" . }}-logback-xml-configmap
- name: cadi
configMap:
name: {{ include "common.fullname" . }}-cadi-prop-configmap