Merge "Updated The Version of Holmes"
[oom.git] / kubernetes / dmaap / components / message-router / templates / statefulset.yaml
index 7bf88f5..21524ef 100644 (file)
@@ -60,15 +60,17 @@ spec:
               port: {{ .Values.service.externalPort }}
             initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
             periodSeconds: {{ .Values.liveness.periodSeconds }}
+            timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
           {{ end -}}
           readinessProbe:
             tcpSocket:
               port: {{ .Values.service.externalPort }}
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
+            timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
           env:
           - name: enableCadi
-            value: "true"
+            value: "{{ .Values.global.aafEnabled }}"
           volumeMounts:
           - mountPath: /etc/localtime
             name: localtime
@@ -76,6 +78,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 +88,7 @@ spec:
             subPath: mykey
             name: mykey
           resources:
-{{ include "common.resources" . | indent 12 }}
+{{ include "common.resources" . }}
       volumes:
         - name: localtime
           hostPath:
@@ -91,6 +96,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