From cb9673b10715508ee5f5910e5c77c027dac5ba36 Mon Sep 17 00:00:00 2001 From: AntoineDao Date: Mon, 1 Jun 2020 08:43:13 +0100 Subject: [PATCH] fix: add workflow and pod worker values to argo controller --- charts/argo/Chart.yaml | 2 +- charts/argo/templates/workflow-controller-deployment.yaml | 8 ++++++++ charts/argo/values.yaml | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index c75eaaf1..f79367d2 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v2.8.0 description: A Helm chart for Argo Workflows name: argo -version: 0.9.4 +version: 0.9.5 icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png home: https://github.com/argoproj/argo-helm maintainers: diff --git a/charts/argo/templates/workflow-controller-deployment.yaml b/charts/argo/templates/workflow-controller-deployment.yaml index 2b8b1dbd..90a5a6ac 100644 --- a/charts/argo/templates/workflow-controller-deployment.yaml +++ b/charts/argo/templates/workflow-controller-deployment.yaml @@ -43,6 +43,14 @@ spec: {{- if .Values.singleNamespace }} - "--namespaced" {{- end }} + {{- if .Values.controller.scaling.workflowWorkers }} + - "--workflow-workers" + - "{{ .Values.controller.scaling.workflowWorkers }}" + {{- end }} + {{- if .Values.controller.scaling.podWorkers }} + - "--pod-workers" + - "{{ .Values.controller.scaling.podWorkers }}" + {{- end }} env: - name: ARGO_NAMESPACE valueFrom: diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index 8f8e825d..56f9fe0b 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -57,6 +57,9 @@ controller: # spec: # ttlStrategy: # secondsAfterCompletion: 84600 + scaling: {} + # workflowWorkers: 32 + # podWorkers: 32 telemetryConfig: enabled: false path: /telemetry