diff --git a/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml b/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml index 3633655a..98f1b060 100644 --- a/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml +++ b/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml @@ -53,8 +53,8 @@ spec: - "--pod-workers" - {{ . | quote }} {{- end }} - {{- if .Values.controller.extraArgs }} - {{- toYaml .Values.controller.extraArgs | nindent 10 }} + {{- with .Values.controller.extraArgs }} + {{- toYaml . | nindent 10 }} {{- end }} securityContext: {{- toYaml .Values.controller.securityContext | nindent 12 }}