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