From 9fa50eb166a953175671507669eecf854a0ed1fa Mon Sep 17 00:00:00 2001 From: Manjunath Shenoy Date: Tue, 14 Jul 2020 12:45:53 -0400 Subject: [PATCH] fixing if conditional for priorityClass --- charts/argo/templates/server-deployment.yaml | 1 + charts/argo/templates/workflow-controller-deployment.yaml | 1 + 2 files changed, 2 insertions(+) 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