Add executor.image.cmdArgDefinition
Signed-off-by: kiblik <5609770+kiblik@users.noreply.github.com>
This commit is contained in:
parent
c30f1984e4
commit
9ac7d3f8bb
5 changed files with 13 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v3.5.5
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.41.1
|
version: 0.41.2
|
||||||
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
sources:
|
sources:
|
||||||
|
@ -17,4 +17,6 @@ annotations:
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: added
|
- kind: added
|
||||||
description: Add the ability to use a headless service for the workflow controller
|
description: Add the ability to use place executor image definition to ConfigMap
|
||||||
|
- kind: changed
|
||||||
|
description: Default placement of definition of executor image was changes from command-line argument of Controller to ConfigMap
|
||||||
|
|
|
@ -251,6 +251,7 @@ Fields to note:
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| executor.args | list | `[]` | Passes arguments to the executor processes |
|
| executor.args | list | `[]` | Passes arguments to the executor processes |
|
||||||
| executor.env | list | `[]` | Adds environment variables for the executor. |
|
| executor.env | list | `[]` | Adds environment variables for the executor. |
|
||||||
|
| executor.image.cmdArgDefinition | bool | `false` | if true image is defined as Controller's command line argument otherwise defined in ConfigMap. |
|
||||||
| executor.image.pullPolicy | string | `""` | Image PullPolicy to use for the Workflow Executors. Defaults to `.Values.images.pullPolicy`. |
|
| executor.image.pullPolicy | string | `""` | Image PullPolicy to use for the Workflow Executors. Defaults to `.Values.images.pullPolicy`. |
|
||||||
| executor.image.registry | string | `"quay.io"` | Registry to use for the Workflow Executors |
|
| executor.image.registry | string | `"quay.io"` | Registry to use for the Workflow Executors |
|
||||||
| executor.image.repository | string | `"argoproj/argoexec"` | Repository to use for the Workflow Executors |
|
| executor.image.repository | string | `"argoproj/argoexec"` | Repository to use for the Workflow Executors |
|
||||||
|
|
|
@ -43,8 +43,11 @@ data:
|
||||||
securityContext: {{- toYaml . | nindent 8 }}
|
securityContext: {{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or .Values.executor.resources .Values.executor.env .Values.executor.args .Values.executor.securityContext}}
|
{{- if or .Values.executor.resources .Values.executor.env .Values.executor.args .Values.executor.securityContext (not .Values.executor.image.cmdArgDefinition) }}
|
||||||
executor:
|
executor:
|
||||||
|
{{- if not .Values.executor.image.cmdArgDefinition }}
|
||||||
|
image: "{{- include "argo-workflows.image" (dict "context" . "image" .Values.executor.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.executor.image.tag }}"
|
||||||
|
{{- end }}
|
||||||
imagePullPolicy: {{ default (.Values.images.pullPolicy) .Values.executor.image.pullPolicy }}
|
imagePullPolicy: {{ default (.Values.images.pullPolicy) .Values.executor.image.pullPolicy }}
|
||||||
{{- with .Values.executor.resources }}
|
{{- with .Values.executor.resources }}
|
||||||
resources: {{- toYaml . | nindent 8 }}
|
resources: {{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -46,8 +46,10 @@ spec:
|
||||||
args:
|
args:
|
||||||
- "--configmap"
|
- "--configmap"
|
||||||
- "{{ template "argo-workflows.controller.config-map.name" . }}"
|
- "{{ template "argo-workflows.controller.config-map.name" . }}"
|
||||||
|
{{- if .Values.executor.image.cmdArgDefinition }}
|
||||||
- "--executor-image"
|
- "--executor-image"
|
||||||
- "{{- include "argo-workflows.image" (dict "context" . "image" .Values.executor.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.executor.image.tag }}"
|
- "{{- include "argo-workflows.image" (dict "context" . "image" .Values.executor.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.executor.image.tag }}"
|
||||||
|
{{- end }}
|
||||||
- "--loglevel"
|
- "--loglevel"
|
||||||
- "{{ .Values.controller.logging.level }}"
|
- "{{ .Values.controller.logging.level }}"
|
||||||
- "--gloglevel"
|
- "--gloglevel"
|
||||||
|
|
|
@ -424,6 +424,8 @@ executor:
|
||||||
tag: ""
|
tag: ""
|
||||||
# -- Image PullPolicy to use for the Workflow Executors. Defaults to `.Values.images.pullPolicy`.
|
# -- Image PullPolicy to use for the Workflow Executors. Defaults to `.Values.images.pullPolicy`.
|
||||||
pullPolicy: ""
|
pullPolicy: ""
|
||||||
|
# -- if true image is defined as Controller's command line argument otherwise defined in ConfigMap.
|
||||||
|
cmdArgDefinition: false
|
||||||
# -- Resource limits and requests for the Workflow Executors
|
# -- Resource limits and requests for the Workflow Executors
|
||||||
resources: {}
|
resources: {}
|
||||||
# -- Passes arguments to the executor processes
|
# -- Passes arguments to the executor processes
|
||||||
|
|
Loading…
Reference in a new issue