Merge "[DMAAP][MR] Fix not starting on service mesh"
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 20 Jul 2021 09:29:01 +0000 (09:29 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 20 Jul 2021 09:29:01 +0000 (09:29 +0000)
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