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 }}