feat: Enable specifying environment for Argo workflow executor. (#349)
This commit is contained in:
parent
2ad0ce8f3e
commit
859d769c12
3 changed files with 10 additions and 4 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: v2.8.0
|
appVersion: v2.8.0
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
name: argo
|
name: argo
|
||||||
version: 0.9.0
|
version: 0.9.1
|
||||||
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:
|
||||||
|
|
|
@ -16,10 +16,14 @@ data:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containerRuntimeExecutor: {{ .Values.controller.containerRuntimeExecutor }}
|
containerRuntimeExecutor: {{ .Values.controller.containerRuntimeExecutor }}
|
||||||
{{- with .Values.executor.resources }}
|
{{- if or .Values.executor.resources .Values.executor.env }}
|
||||||
executor:
|
executor:
|
||||||
resources:
|
{{- with .Values.executor.resources }}
|
||||||
{{- toYaml . | nindent 8 }}
|
resources: {{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.executor.env }}
|
||||||
|
env: {{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
artifactRepository:
|
artifactRepository:
|
||||||
{{- if or .Values.minio.install .Values.useDefaultArtifactRepo }}
|
{{- if or .Values.minio.install .Values.useDefaultArtifactRepo }}
|
||||||
|
|
|
@ -111,6 +111,8 @@ executor:
|
||||||
# Overrides .images.tag if defined.
|
# Overrides .images.tag if defined.
|
||||||
tag: ""
|
tag: ""
|
||||||
resources: {}
|
resources: {}
|
||||||
|
# Adds environment variables for the executor.
|
||||||
|
env: {}
|
||||||
|
|
||||||
server:
|
server:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Loading…
Reference in a new issue