From 33e7117e49fe39af2b3fd0beed8feb1cf77e9c95 Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Sun, 23 Apr 2023 10:48:27 -0400 Subject: [PATCH] update replicas conditional to latest version - simpler logic - thanks to review comment for catching this Signed-off-by: Anton Gilgur --- charts/argo-workflows/templates/server/server-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/argo-workflows/templates/server/server-deployment.yaml b/charts/argo-workflows/templates/server/server-deployment.yaml index f9baf6fd..d75933ac 100644 --- a/charts/argo-workflows/templates/server/server-deployment.yaml +++ b/charts/argo-workflows/templates/server/server-deployment.yaml @@ -12,7 +12,7 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: - {{- if (ne .Values.server.autoscaling.enabled true) }} + {{- if not .Values.server.autoscaling.enabled }} replicas: {{ .Values.server.replicas }} {{- end }} selector: