feat(argo-workflows): Add global tag (#1377)
* feat(argo-workflows): Moved `.Values.images` values to global
Signed-off-by: yu-croco <yuki.kita22@gmail.com>
* Revert "feat(argo-workflows): Moved `.Values.images` values to global"
This reverts commit 67b4294675
.
Signed-off-by: yu-croco <yuki.kita22@gmail.com>
* feat(argo-workflows): Add global tag
Signed-off-by: yu-croco <yuki.kita22@gmail.com>
This commit is contained in:
parent
8f0914dc4e
commit
334d8ae728
8 changed files with 27 additions and 17 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
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.16.7
|
version: 0.16.8
|
||||||
appVersion: v3.3.8
|
appVersion: v3.3.8
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
|
@ -15,4 +15,4 @@ maintainers:
|
||||||
- name: benjaminws
|
- name: benjaminws
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Changed]: Assign common labels to some resources"
|
- "[Added]: Set global tag"
|
||||||
|
|
|
@ -45,6 +45,7 @@ Fields to note:
|
||||||
| fullnameOverride | string | `nil` | String to fully override "argo-workflows.fullname" template |
|
| fullnameOverride | string | `nil` | String to fully override "argo-workflows.fullname" template |
|
||||||
| images.pullPolicy | string | `"Always"` | imagePullPolicy to apply to all containers |
|
| images.pullPolicy | string | `"Always"` | imagePullPolicy to apply to all containers |
|
||||||
| images.pullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry |
|
| images.pullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry |
|
||||||
|
| images.tag | string | `""` | Common tag for Argo Workflows images. Defaults to `.Chart.AppVersion`. |
|
||||||
| kubeVersionOverride | string | `""` | Override the Kubernetes version, which is used to evaluate certain manifests |
|
| kubeVersionOverride | string | `""` | Override the Kubernetes version, which is used to evaluate certain manifests |
|
||||||
| nameOverride | string | `nil` | String to partially override "argo-workflows.fullname" template |
|
| nameOverride | string | `nil` | String to partially override "argo-workflows.fullname" template |
|
||||||
| singleNamespace | bool | `false` | Restrict Argo to operate only in a single namespace (the namespace of the Helm release) by apply Roles and RoleBindings instead of the Cluster equivalents, and start workflow-controller with the --namespaced flag. Use it in clusters with strict access policy. |
|
| singleNamespace | bool | `false` | Restrict Argo to operate only in a single namespace (the namespace of the Helm release) by apply Roles and RoleBindings instead of the Cluster equivalents, and start workflow-controller with the --namespaced flag. Use it in clusters with strict access policy. |
|
||||||
|
@ -73,7 +74,7 @@ Fields to note:
|
||||||
| controller.extraEnv | list | `[]` | Extra environment variables to provide to the controller container |
|
| controller.extraEnv | list | `[]` | Extra environment variables to provide to the controller container |
|
||||||
| controller.image.registry | string | `"quay.io"` | Registry to use for the controller |
|
| controller.image.registry | string | `"quay.io"` | Registry to use for the controller |
|
||||||
| controller.image.repository | string | `"argoproj/workflow-controller"` | Registry to use for the controller |
|
| controller.image.repository | string | `"argoproj/workflow-controller"` | Registry to use for the controller |
|
||||||
| controller.image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
|
| controller.image.tag | string | `""` | Image tag for the workflow controller. Defaults to `.Values.images.tag`. |
|
||||||
| controller.initialDelay | string | `nil` | Resolves ongoing, uncommon AWS EKS bug: https://github.com/argoproj/argo-workflows/pull/4224 |
|
| controller.initialDelay | string | `nil` | Resolves ongoing, uncommon AWS EKS bug: https://github.com/argoproj/argo-workflows/pull/4224 |
|
||||||
| controller.instanceID.enabled | bool | `false` | Configures the controller to filter workflow submissions to only those which have a matching instanceID attribute. |
|
| controller.instanceID.enabled | bool | `false` | Configures the controller to filter workflow submissions to only those which have a matching instanceID attribute. |
|
||||||
| controller.instanceID.explicitID | string | `""` | Use a custom instanceID |
|
| controller.instanceID.explicitID | string | `""` | Use a custom instanceID |
|
||||||
|
@ -143,7 +144,7 @@ Fields to note:
|
||||||
| executor.env | object | `{}` | Adds environment variables for the executor. |
|
| executor.env | object | `{}` | Adds environment variables for the executor. |
|
||||||
| 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 |
|
||||||
| executor.image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
|
| executor.image.tag | string | `""` | Image tag for the workflow executor. Defaults to `.Values.images.tag`. |
|
||||||
| executor.resources | object | `{}` | Resource limits and requests for the Workflow Executors |
|
| executor.resources | object | `{}` | Resource limits and requests for the Workflow Executors |
|
||||||
| executor.securityContext | object | `{}` | sets security context for the executor container |
|
| executor.securityContext | object | `{}` | sets security context for the executor container |
|
||||||
|
|
||||||
|
@ -162,7 +163,7 @@ Fields to note:
|
||||||
| server.extraEnv | list | `[]` | Extra environment variables to provide to the argo-server container |
|
| server.extraEnv | list | `[]` | Extra environment variables to provide to the argo-server container |
|
||||||
| server.image.registry | string | `"quay.io"` | Registry to use for the server |
|
| server.image.registry | string | `"quay.io"` | Registry to use for the server |
|
||||||
| server.image.repository | string | `"argoproj/argocli"` | Repository to use for the server |
|
| server.image.repository | string | `"argoproj/argocli"` | Repository to use for the server |
|
||||||
| server.image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
|
| server.image.tag | string | `""` | Image tag for the Argo Workflows server. Defaults to `.Values.images.tag`. |
|
||||||
| server.ingress.annotations | object | `{}` | Additional ingress annotations |
|
| server.ingress.annotations | object | `{}` | Additional ingress annotations |
|
||||||
| server.ingress.enabled | bool | `false` | Enable an ingress resource |
|
| server.ingress.enabled | bool | `false` | Enable an ingress resource |
|
||||||
| server.ingress.extraPaths | list | `[]` | Additional ingress paths |
|
| server.ingress.extraPaths | list | `[]` | Additional ingress paths |
|
||||||
|
|
|
@ -120,3 +120,10 @@ Return the target Kubernetes version
|
||||||
{{- define "argo-workflows.kubeVersion" -}}
|
{{- define "argo-workflows.kubeVersion" -}}
|
||||||
{{- default .Capabilities.KubeVersion.Version .Values.kubeVersionOverride }}
|
{{- default .Capabilities.KubeVersion.Version .Values.kubeVersionOverride }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Return the default Argo Workflows app version
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-workflows.defaultTag" -}}
|
||||||
|
{{- default .Chart.AppVersion .Values.images.tag }}
|
||||||
|
{{- end -}}
|
||||||
|
|
|
@ -4,7 +4,7 @@ metadata:
|
||||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
app.kubernetes.io/version: {{ default .Chart.AppVersion .Values.controller.image.tag | trunc 63 | quote }}
|
app.kubernetes.io/version: {{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag | trunc 63 | quote }}
|
||||||
{{- with .Values.controller.deploymentAnnotations }}
|
{{- with .Values.controller.deploymentAnnotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
|
@ -18,7 +18,7 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 8 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 8 }}
|
||||||
app.kubernetes.io/version: {{ default .Chart.AppVersion .Values.controller.image.tag | trunc 63 | quote }}
|
app.kubernetes.io/version: {{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag | trunc 63 | quote }}
|
||||||
{{- with.Values.controller.podLabels }}
|
{{- with.Values.controller.podLabels }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -34,14 +34,14 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: controller
|
- name: controller
|
||||||
image: "{{ .Values.controller.image.registry }}/{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.controller.image.registry }}/{{ .Values.controller.image.repository }}:{{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.images.pullPolicy }}
|
imagePullPolicy: {{ .Values.images.pullPolicy }}
|
||||||
command: [ "workflow-controller" ]
|
command: [ "workflow-controller" ]
|
||||||
args:
|
args:
|
||||||
- "--configmap"
|
- "--configmap"
|
||||||
- "{{ template "argo-workflows.controller.fullname" . }}-configmap"
|
- "{{ template "argo-workflows.controller.fullname" . }}-configmap"
|
||||||
- "--executor-image"
|
- "--executor-image"
|
||||||
- "{{ .Values.executor.image.registry }}/{{ .Values.executor.image.repository }}:{{ .Values.executor.image.tag | default .Chart.AppVersion }}"
|
- "{{ .Values.executor.image.registry }}/{{ .Values.executor.image.repository }}:{{ default (include "argo-workflows.defaultTag" .) .Values.executor.image.tag }}"
|
||||||
- "--loglevel"
|
- "--loglevel"
|
||||||
- "{{ .Values.controller.logging.level }}"
|
- "{{ .Values.controller.logging.level }}"
|
||||||
- "--gloglevel"
|
- "--gloglevel"
|
||||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
app.kubernetes.io/version: {{ default .Chart.AppVersion .Values.controller.image.tag | trunc 63 | quote }}
|
app.kubernetes.io/version: {{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag | trunc 63 | quote }}
|
||||||
{{- with .Values.controller.serviceLabels }}
|
{{- with .Values.controller.serviceLabels }}
|
||||||
{{ toYaml . | nindent 4 }}
|
{{ toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
name: {{ template "argo-workflows.server.fullname" . }}
|
name: {{ template "argo-workflows.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
app.kubernetes.io/version: {{ default .Chart.AppVersion .Values.server.image.tag | trunc 63 | quote }}
|
app.kubernetes.io/version: {{ default (include "argo-workflows.defaultTag" .) .Values.server.image.tag | trunc 63 | quote }}
|
||||||
{{- with .Values.server.deploymentAnnotations }}
|
{{- with .Values.server.deploymentAnnotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
|
@ -19,7 +19,7 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 8 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 8 }}
|
||||||
app.kubernetes.io/version: {{ default .Chart.AppVersion .Values.server.image.tag | trunc 63 | quote }}
|
app.kubernetes.io/version: {{ default (include "argo-workflows.defaultTag" .) .Values.server.image.tag | trunc 63 | quote }}
|
||||||
{{- with .Values.server.podLabels }}
|
{{- with .Values.server.podLabels }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -35,7 +35,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: argo-server
|
- name: argo-server
|
||||||
image: "{{ .Values.server.image.registry }}/{{ .Values.server.image.repository }}:{{ .Values.server.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.server.image.registry }}/{{ .Values.server.image.repository }}:{{ default (include "argo-workflows.defaultTag" .) .Values.server.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.images.pullPolicy }}
|
imagePullPolicy: {{ .Values.images.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.server.securityContext | nindent 12 }}
|
{{- toYaml .Values.server.securityContext | nindent 12 }}
|
||||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
name: {{ template "argo-workflows.server.fullname" . }}
|
name: {{ template "argo-workflows.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
app.kubernetes.io/version: {{ default .Chart.AppVersion .Values.server.image.tag | trunc 63 | quote }}
|
app.kubernetes.io/version: {{ default (include "argo-workflows.defaultTag" .) .Values.server.image.tag | trunc 63 | quote }}
|
||||||
{{- with .Values.server.serviceAnnotations }}
|
{{- with .Values.server.serviceAnnotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
images:
|
images:
|
||||||
|
# -- Common tag for Argo Workflows images. Defaults to `.Chart.AppVersion`.
|
||||||
|
tag: ""
|
||||||
# -- imagePullPolicy to apply to all containers
|
# -- imagePullPolicy to apply to all containers
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
# -- Secrets with credentials to pull images from a private registry
|
# -- Secrets with credentials to pull images from a private registry
|
||||||
|
@ -45,7 +47,7 @@ controller:
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
# -- Registry to use for the controller
|
# -- Registry to use for the controller
|
||||||
repository: argoproj/workflow-controller
|
repository: argoproj/workflow-controller
|
||||||
# -- Overrides the image tag whose default is the chart appVersion.
|
# -- Image tag for the workflow controller. Defaults to `.Values.images.tag`.
|
||||||
tag: ""
|
tag: ""
|
||||||
# -- parallelism dictates how many workflows can be running at the same time
|
# -- parallelism dictates how many workflows can be running at the same time
|
||||||
parallelism:
|
parallelism:
|
||||||
|
@ -280,7 +282,7 @@ executor:
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
# -- Repository to use for the Workflow Executors
|
# -- Repository to use for the Workflow Executors
|
||||||
repository: argoproj/argoexec
|
repository: argoproj/argoexec
|
||||||
# -- Overrides the image tag whose default is the chart appVersion.
|
# -- Image tag for the workflow executor. Defaults to `.Values.images.tag`.
|
||||||
tag: ""
|
tag: ""
|
||||||
# -- Resource limits and requests for the Workflow Executors
|
# -- Resource limits and requests for the Workflow Executors
|
||||||
resources: {}
|
resources: {}
|
||||||
|
@ -302,7 +304,7 @@ server:
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
# -- Repository to use for the server
|
# -- Repository to use for the server
|
||||||
repository: argoproj/argocli
|
repository: argoproj/argocli
|
||||||
# -- Overrides the image tag whose default is the chart appVersion.
|
# -- Image tag for the Argo Workflows server. Defaults to `.Values.images.tag`.
|
||||||
tag: ""
|
tag: ""
|
||||||
# -- optional map of annotations to be applied to the ui Deployment
|
# -- optional map of annotations to be applied to the ui Deployment
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
|
|
Loading…
Reference in a new issue