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

Signed-off-by: Vlad Losev <vladimir.losev@sage.com>
This commit is contained in:
Vlad Losev 2020-12-10 10:15:43 -08:00
parent 40e52f62ac
commit 5548a4168e
No known key found for this signature in database
GPG key ID: 3A3C3B9FAA3AB7AE
3 changed files with 5 additions and 1 deletions

View file

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

View file

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

View file

@ -115,6 +115,7 @@ controller:
# service type `LoadBalancer` # service type `LoadBalancer`
loadBalancerSourceRanges: [] loadBalancerSourceRanges: []
resources: {} resources: {}
env: []
replicas: 1 replicas: 1
pdb: pdb:
enabled: false enabled: false