use Chart.AppVersion as the default image tag

Signed-off-by: chgl <chgl@users.noreply.github.com>
This commit is contained in:
chgl 2021-04-18 21:01:57 +02:00
parent 20cf69e9e1
commit 343927cbf1
4 changed files with 10 additions and 6 deletions

View file

@ -3,6 +3,7 @@ name: argo-workflows
description: A Helm chart for Argo Workflows description: A Helm chart for Argo Workflows
type: application type: application
version: 0.1.0 version: 0.1.0
appVersion: "v3.0.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
sources: sources:

View file

@ -32,14 +32,14 @@ spec:
{{- end }} {{- end }}
containers: containers:
- name: controller - name: controller
image: "{{ .Values.controller.image.registry }}/{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}" image: "{{ .Values.controller.image.registry }}/{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.images.pullPolicy }} imagePullPolicy: {{ .Values.images.pullPolicy }}
command: [ "workflow-controller" ] command: [ "workflow-controller" ]
args: args:
- "--configmap" - "--configmap"
- "{{ .Release.Name }}-{{ .Values.controller.name}}-configmap" - "{{ .Release.Name }}-{{ .Values.controller.name}}-configmap"
- "--executor-image" - "--executor-image"
- "{{ .Values.executor.image.registry }}/{{ .Values.executor.image.repository }}:{{ .Values.executor.image.tag }}" - "{{ .Values.executor.image.registry }}/{{ .Values.executor.image.repository }}:{{ .Values.executor.image.tag | default .Chart.AppVersion }}"
- "--loglevel" - "--loglevel"
- "{{ .Values.controller.logging.level }}" - "{{ .Values.controller.logging.level }}"
- "--gloglevel" - "--gloglevel"

View file

@ -32,7 +32,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 }}" image: "{{ .Values.server.image.registry }}/{{ .Values.server.image.repository }}:{{ .Values.server.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.images.pullPolicy }} imagePullPolicy: {{ .Values.images.pullPolicy }}
args: args:
- server - server

View file

@ -29,7 +29,8 @@ controller:
image: image:
registry: quay.io registry: quay.io
repository: argoproj/workflow-controller repository: argoproj/workflow-controller
tag: v3.0.1 # Overrides the image tag whose default is the chart appVersion.
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:
# podAnnotations is an optional map of annotations to be applied to the controller Pods # podAnnotations is an optional map of annotations to be applied to the controller Pods
@ -146,7 +147,8 @@ executor:
image: image:
registry: quay.io registry: quay.io
repository: argoproj/argoexec repository: argoproj/argoexec
tag: v3.0.1 # Overrides the image tag whose default is the chart appVersion.
tag: ""
resources: {} resources: {}
# Adds environment variables for the executor. # Adds environment variables for the executor.
env: {} env: {}
@ -162,7 +164,8 @@ server:
image: image:
registry: quay.io registry: quay.io
repository: argoproj/argocli repository: argoproj/argocli
tag: v3.0.1 # Overrides the image tag whose default is the chart appVersion.
tag: ""
# optional map of annotations to be applied to the ui Pods # optional map of annotations to be applied to the ui Pods
podAnnotations: {} podAnnotations: {}
# Optional labels to add to the UI pods # Optional labels to add to the UI pods