diff --git a/charts/argo/templates/server-deployment.yaml b/charts/argo/templates/server-deployment.yaml index 508bdc7f..c680e424 100644 --- a/charts/argo/templates/server-deployment.yaml +++ b/charts/argo/templates/server-deployment.yaml @@ -27,6 +27,7 @@ spec: spec: {{- if .Values.server.priorityClassName }} priorityClassName: {{ .Values.server.priorityClassName | quote }} + {{- end }} serviceAccountName: {{ .Values.server.serviceAccount | quote }} containers: - name: argo-server diff --git a/charts/argo/templates/workflow-controller-deployment.yaml b/charts/argo/templates/workflow-controller-deployment.yaml index deb1f172..3b15e096 100644 --- a/charts/argo/templates/workflow-controller-deployment.yaml +++ b/charts/argo/templates/workflow-controller-deployment.yaml @@ -27,6 +27,7 @@ spec: spec: {{- if .Values.controller.priorityClassName }} priorityClassName: {{ .Values.controller.priorityClassName | quote }} + {{- end }} serviceAccountName: {{ .Values.controller.serviceAccount | quote }} containers: - name: controller