From d27683f40c3122676c1396d8c8c6e84232f04c99 Mon Sep 17 00:00:00 2001 From: MichaelKo Date: Wed, 31 Mar 2021 19:31:59 +0200 Subject: [PATCH] fix(argo): add extraArgs to controller deployment (#613) Co-authored-by: Alex Collins --- charts/argo/Chart.yaml | 2 +- charts/argo/templates/workflow-controller-deployment.yaml | 3 +++ charts/argo/values.yaml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index d519e34c..1ce323cc 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.12.5 description: A Helm chart for Argo Workflows name: argo -version: 0.16.7 +version: 0.16.8 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 82b36bf6..9ad509d0 100755 --- a/charts/argo/templates/workflow-controller-deployment.yaml +++ b/charts/argo/templates/workflow-controller-deployment.yaml @@ -55,6 +55,9 @@ spec: - "--pod-workers" - {{ . | quote }} {{- end }} + {{- if .Values.controller.extraArgs }} + {{- toYaml .Values.controller.extraArgs | nindent 10 }} + {{- end }} env: - name: ARGO_NAMESPACE valueFrom: diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index 43dc94ae..0a5be36d 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -118,6 +118,8 @@ controller: # The list of environment variable definitions to be added to the controller # manages container verbatim. extraEnv: [] + # Extra arguments to be added to the controller + extraArgs: [] replicas: 1 pdb: enabled: false