aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/message-router/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-06-30 15:14:32 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-07-07 06:46:55 +0000
commitf596a2df5f4d24d0f71ab54e6edf5166b19f2efd (patch)
treec6e1b924d4b01dfe4cee18c047dfef18b237ad70 /kubernetes/dmaap/components/message-router/templates
parentae7b05560d7c7d59c7ceaa7d7e40bdce67e7d399 (diff)
[DMAAP][MR] Fix not starting on service mesh
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
Diffstat (limited to 'kubernetes/dmaap/components/message-router/templates')
-rw-r--r--kubernetes/dmaap/components/message-router/templates/statefulset.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml
index 706fe298bd..c0d32a362b 100644
--- a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml
+++ b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml
@@ -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