From 09c0cea4277b23fd2c23575c114f01c22c6c0c49 Mon Sep 17 00:00:00 2001 From: chgl Date: Wed, 28 Apr 2021 21:01:52 +0200 Subject: [PATCH] Update charts/argo-workflows/templates/controller/workflow-controller-service.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Oliver Bähler Signed-off-by: chgl --- .../templates/controller/workflow-controller-service.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/argo-workflows/templates/controller/workflow-controller-service.yaml b/charts/argo-workflows/templates/controller/workflow-controller-service.yaml index 9517ddb3..8072f84b 100644 --- a/charts/argo-workflows/templates/controller/workflow-controller-service.yaml +++ b/charts/argo-workflows/templates/controller/workflow-controller-service.yaml @@ -9,9 +9,10 @@ metadata: {{- if .Values.controller.serviceLabels }} {{ toYaml .Values.controller.serviceLabels | nindent 4}} {{- end }} - {{- if .Values.controller.serviceAnnotations }} + {{- with .Values.controller.serviceAnnotations }} annotations: -{{ toYaml .Values.controller.serviceAnnotations | indent 4}}{{- end }} + {{- toYaml . | nindent 4}} + {{- end }} spec: ports: {{- if .Values.controller.metricsConfig.enabled }}