[DMAAP][MR] Fix not starting on service mesh 73/122373/3
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 30 Jun 2021 13:14:32 +0000 (15:14 +0200)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 7 Jul 2021 06:46:55 +0000 (06:46 +0000)
With automatic certificate commit, service mesh compatibility has been
lost.
This commit reenables it.

Issue-ID: OOM-2233
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ice397cb2d17f1010c180b6dcb4a24892a3141702

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