From 29c3607915a740d907aff1c8678b66b9c2ce6568 Mon Sep 17 00:00:00 2001 From: chgl Date: Wed, 28 Apr 2021 21:00:46 +0200 Subject: [PATCH] Update charts/argo-workflows/templates/controller/workflow-controller-deployment.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-deployment.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml b/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml index c449896e..dff6226c 100644 --- a/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml +++ b/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml @@ -18,9 +18,10 @@ spec: {{- if .Values.controller.podLabels }} {{ toYaml .Values.controller.podLabels | nindent 8}} {{- end }} - {{- if .Values.controller.podAnnotations }} + {{- with .Values.controller.podAnnotations }} annotations: -{{ toYaml .Values.controller.podAnnotations | indent 8}}{{- end }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: serviceAccountName: {{ template "argo-workflows.controllerServiceAccountName" . }} {{- if .Values.controller.podSecurityContext }}