diff --git a/deployments/helm-chart/templates/controller-leader-election-configmap.yaml b/deployments/helm-chart/templates/controller-leader-election-configmap.yaml index a473c69a7a..440914eb3e 100644 --- a/deployments/helm-chart/templates/controller-leader-election-configmap.yaml +++ b/deployments/helm-chart/templates/controller-leader-election-configmap.yaml @@ -6,8 +6,8 @@ metadata: namespace: {{ .Release.Namespace }} labels: {{- include "nginx-ingress.labels" . | nindent 4 }} - {{- if .Values.controller.reportIngressStatus.annotations }} -annotations: - {{ toYaml .Values.controller.reportIngressStatus.annotations | indent 4 }} - {{- end }} - {{- end }} +{{- if .Values.controller.reportIngressStatus.annotations }} + annotations: +{{ toYaml .Values.controller.reportIngressStatus.annotations | indent 4 }} +{{- end }} +{{- end }}