diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index c8f68daa..cd3e1cb0 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v2.8.0 description: A Helm chart for Argo Workflows name: argo -version: 0.9.0 +version: 0.9.1 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-config-map.yaml b/charts/argo/templates/workflow-controller-config-map.yaml index 068b381c..14d49935 100644 --- a/charts/argo/templates/workflow-controller-config-map.yaml +++ b/charts/argo/templates/workflow-controller-config-map.yaml @@ -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 }} diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index 156f9926..7ab0aae5 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -111,6 +111,8 @@ executor: # Overrides .images.tag if defined. tag: "" resources: {} + # Adds environment variables for the executor. + env: {} server: enabled: true