AAF cert dist for DMaaP DR
[oom.git] / kubernetes / dmaap / components / message-router / templates / statefulset.yaml
index bdd134a..671b42f 100644 (file)
@@ -68,7 +68,7 @@ spec:
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           env:
           - name: enableCadi
-            value: "false"
+            value: "{{ .Values.global.aafEnabled }}"
           volumeMounts:
           - mountPath: /etc/localtime
             name: localtime
@@ -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
@@ -83,7 +86,7 @@ spec:
             subPath: mykey
             name: mykey
           resources:
-{{ include "common.resources" . | indent 12 }}
+{{ include "common.resources" . }}
       volumes:
         - name: localtime
           hostPath:
@@ -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