feat: Enable specifying environment for Argo workflow executor. (#349)

This commit is contained in:
Vlad Losev 2020-05-14 17:04:21 -07:00 committed by GitHub
parent 2ad0ce8f3e
commit 859d769c12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 4 deletions

View file

@ -16,10 +16,14 @@ data:
{{- end }}
{{- end }}
containerRuntimeExecutor: {{ .Values.controller.containerRuntimeExecutor }}
{{- with .Values.executor.resources }}
{{- if or .Values.executor.resources .Values.executor.env }}
executor:
resources:
{{- toYaml . | nindent 8 }}
{{- with .Values.executor.resources }}
resources: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.executor.env }}
env: {{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
artifactRepository:
{{- if or .Values.minio.install .Values.useDefaultArtifactRepo }}