diff --git a/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml b/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml index ca69d0c4..3633655a 100644 --- a/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml +++ b/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml @@ -99,6 +99,6 @@ spec: affinity: {{- toYaml . | nindent 8 }} {{- end }} - {{- if .Values.controller.priorityClassName }} - priorityClassName: {{ .Values.controller.priorityClassName }} + {{- with .Values.controller.priorityClassName }} + priorityClassName: {{ . }} {{- end }}