feat(argocd-image-updater): prevent generation of label value of invalid length (#1691)
* feat(argocd-image-updater): prevent label from being greater than 63 characters. Signed-off-by: Pedro Salgado <steenzout@users.noreply.github.com> * fix: Add missing double quote in changelog Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Signed-off-by: Pedro Salgado <steenzout@users.noreply.github.com> Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Jason Meridth <jmeridth@gmail.com>
This commit is contained in:
parent
5b9f624ba2
commit
e91bc78a4a
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: argocd-image-updater
|
||||
description: A Helm chart for Argo CD Image Updater, a tool to automatically update the container images of Kubernetes workloads which are managed by Argo CD
|
||||
type: application
|
||||
version: 0.8.1
|
||||
version: 0.8.2
|
||||
appVersion: v0.12.0
|
||||
home: https://github.com/argoproj-labs/argocd-image-updater
|
||||
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
|
||||
|
@ -15,4 +15,4 @@ maintainers:
|
|||
url: https://argoproj.github.io/
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- "[Added]: Add support for additional initContainers and additional volume/volumeMounts"
|
||||
- "[Changed]: avoid app.kubernetes.io/version kubernetes label from exceeding maximum length (63)"
|
||||
|
|
|
@ -38,7 +38,7 @@ Common labels
|
|||
helm.sh/chart: {{ include "argocd-image-updater.chart" . }}
|
||||
{{ include "argocd-image-updater.selectorLabels" . }}
|
||||
{{- if .Chart.AppVersion }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | trunc 63 | quote }}
|
||||
{{- end }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue