From e2a15829aa44cd769ab3df2ec4e9af3e77968890 Mon Sep 17 00:00:00 2001 From: chgl Date: Tue, 31 Oct 2023 15:41:47 +0100 Subject: [PATCH] fixed version label for service --- charts/stream-processors/Chart.yaml | 6 +++--- charts/stream-processors/templates/service.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/stream-processors/Chart.yaml b/charts/stream-processors/Chart.yaml index e79068a6..64edbf05 100644 --- a/charts/stream-processors/Chart.yaml +++ b/charts/stream-processors/Chart.yaml @@ -8,7 +8,7 @@ keywords: - kafka - strimzi kafka operator - stream processing -version: 1.2.1 +version: 1.2.2 annotations: artifacthub.io/recommendations: | - url: https://artifacthub.io/packages/helm/strimzi/strimzi-kafka-operator @@ -16,5 +16,5 @@ annotations: artifacthub.io/changes: | # When using the list of objects option the valid supported kinds are # added, changed, deprecated, removed, fixed and security. - - kind: changed - description: refreshed docs with latest helm-docs + - kind: fixed + description: "app.kubernetes.io/version label in service yaml" diff --git a/charts/stream-processors/templates/service.yaml b/charts/stream-processors/templates/service.yaml index 2f8a6c75..6fbde7d6 100644 --- a/charts/stream-processors/templates/service.yaml +++ b/charts/stream-processors/templates/service.yaml @@ -9,7 +9,7 @@ metadata: name: {{ include "stream-processors.fullname" $ }}-{{ $name }}-metrics labels: {{- include "stream-processors.labels" $ | nindent 4 }} - app.kubernetes.io/version: {{ $spec.container.image.tag | quote }} + app.kubernetes.io/version: {{ include "stream-processors.version-label-value" . }} app.kubernetes.io/name: {{ $name }} app.kubernetes.io/instance: {{ $.Release.Name }}-{{ $name }} spec: