feat(argo): Add support for setting env vars for workflow controller. (#517)

Signed-off-by: Vlad Losev <vladimir.losev@sage.com>
main
Vlad Losev 2020-12-11 12:54:59 -08:00 committed by GitHub
parent 40e52f62ac
commit 5e0755f2f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: v2.11.7
description: A Helm chart for Argo Workflows
name: argo
version: 0.13.10
version: 0.13.11
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
home: https://github.com/argoproj/argo-helm
maintainers:

View File

@ -61,6 +61,9 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
{{- with .Values.controller.extraEnv }}
{{ toYaml . | nindent 10 }}
{{- end }}
resources:
{{- toYaml .Values.controller.resources | nindent 12 }}
{{- if .Values.controller.metricsConfig.enabled }}

View File

@ -115,6 +115,9 @@ controller:
# service type `LoadBalancer`
loadBalancerSourceRanges: []
resources: {}
# The list of environment variable definitions to be added to the controller
# manages container verbatim.
extraEnv: []
replicas: 1
pdb:
enabled: false