[DMAAP][MR] Fix not starting on service mesh
[oom.git] / kubernetes / dmaap / components / message-router / templates / statefulset.yaml
index 706fe29..c0d32a3 100644 (file)
@@ -126,6 +126,7 @@ spec:
           - mountPath: /appl/dmaapMR1/etc/keyfile
             subPath: mykey
             name: mykey
+          {{- if  .Values.global.aafEnabled }}
           - mountPath: /appl/dmaapMR1/etc/runner-web.xml
             subPath: runner-web.xml
             name: etc
@@ -134,6 +135,7 @@ spec:
             name: sys-props
           - mountPath: /jetty-config
             name: jetty
+          {{- end }}
           resources: {{ include "common.resources" . | nindent 12 }}
       volumes: {{ include "common.certInitializer.volumes" . | nindent 8 }}
         - name: localtime