From 152c430f7f7914d72a7820aba3264ab780b056c2 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Thu, 4 Feb 2021 18:26:23 +0100 Subject: [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 Change-Id: Ief6fcdf18b9bea1bff728924d7c9a25465ac8a47 (cherry picked from commit e615343e219ee091fcdf7ac29201ed665996f7a2) --- kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/dmaap/components/dmaap-dr-node/templates') diff --git a/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml b/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml index 262e074f03..6496792a37 100644 --- a/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml +++ b/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml @@ -87,7 +87,7 @@ spec: {{- end -}} {{- if .Values.affinity }} affinity: {{ toYaml .Values.affinity | nindent 10 }} - {{- end -}} + {{- end }} # Filebeat sidecar container - name: {{ include "common.name" . }}-filebeat-onap image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}" -- cgit 1.2.3-korg