[DMAAP][DR] Fix bad templating 91/119691/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 4 Feb 2021 17:26:23 +0000 (18:26 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 24 Mar 2021 16:10:34 +0000 (16:10 +0000)
commit152c430f7f7914d72a7820aba3264ab780b056c2
treeabac03172ef5896055f3eb46c78b33a58056dc94
parentfbb7f16ad6808cd2d188a2e5c0c2724c4dca17bc
[DMAAP][DR] Fix bad templating

In DR deployments, use of `{{- end -}}` at the of affinity makes the
next line to "glue" to resources information.
And it seems that in recent kubernetes, it makes it break.

Issue-ID: OOM-2671
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ief6fcdf18b9bea1bff728924d7c9a25465ac8a47
(cherry picked from commit e615343e219ee091fcdf7ac29201ed665996f7a2)
kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml
kubernetes/dmaap/components/dmaap-dr-prov/templates/deployment.yaml