fix(argo-workflows): Quick fix for failing deployment when using image digests (#1206)
* Added short tag function and updated templates Signed-off-by: John Clark <clark.john.d@outlook.com> * Chart.yaml update (version, changes) Signed-off-by: John Clark <clark.john.d@outlook.com> * Removed unnecessary conditional logic Signed-off-by: John Clark <clark.john.d@outlook.com> * Final newline to _helpers Signed-off-by: John Clark <clark.john.d@outlook.com> * Rework without template function Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
bfad95fe77
commit
645f70ff98
5 changed files with 8 additions and 8 deletions
|
|
@ -4,7 +4,7 @@ metadata:
|
|||
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||
labels:
|
||||
{{- 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 | quote }}
|
||||
app.kubernetes.io/version: {{ default .Chart.AppVersion .Values.controller.image.tag | trunc 63 | quote }}
|
||||
spec:
|
||||
replicas: {{ .Values.controller.replicas }}
|
||||
selector:
|
||||
|
|
@ -14,7 +14,7 @@ spec:
|
|||
metadata:
|
||||
labels:
|
||||
{{- 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 | quote }}
|
||||
app.kubernetes.io/version: {{ default .Chart.AppVersion .Values.controller.image.tag | trunc 63 | quote }}
|
||||
{{- with.Values.controller.podLabels }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue