feat(argocd-image-updater): prevent label from being greater than 63 characters.

Signed-off-by: Pedro Salgado <steenzout@users.noreply.github.com>
This commit is contained in:
Pedro Salgado 2022-12-08 19:00:34 -06:00
parent 7bb7caa2cf
commit 33d5bea925
No known key found for this signature in database
GPG key ID: D33DE2A5E9D0F632
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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 }}