From 4f698f8ac54fc68cd8dab433b7c2d8ffb77a4067 Mon Sep 17 00:00:00 2001 From: jw-maynard Date: Mon, 7 Aug 2023 07:50:40 -0700 Subject: [PATCH] Add app.kubernetes.io/version based on AppVersion (#18194) Signed-off-by: jw-maynard --- bitnami/common/Chart.yaml | 4 ++-- bitnami/common/templates/_labels.tpl | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bitnami/common/Chart.yaml b/bitnami/common/Chart.yaml index ada4259bc9..cc3ae80e77 100644 --- a/bitnami/common/Chart.yaml +++ b/bitnami/common/Chart.yaml @@ -6,7 +6,7 @@ annotations: licenses: Apache-2.0 apiVersion: v2 # Please make sure that version and appVersion are always the same. -appVersion: 2.6.0 +appVersion: 2.7.0 description: A Library Helm Chart for grouping common logic between bitnami charts. This chart is not deployable by itself. home: https://bitnami.com icon: https://bitnami.com/downloads/logos/bitnami-mark.png @@ -23,4 +23,4 @@ name: common sources: - https://github.com/bitnami/charts type: library -version: 2.6.0 +version: 2.7.0 diff --git a/bitnami/common/templates/_labels.tpl b/bitnami/common/templates/_labels.tpl index a1d7a95bc4..f1dd6085ac 100644 --- a/bitnami/common/templates/_labels.tpl +++ b/bitnami/common/templates/_labels.tpl @@ -12,6 +12,7 @@ app.kubernetes.io/name: {{ include "common.names.name" . }} helm.sh/chart: {{ include "common.names.chart" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} +app.kubernetes.io/version: {{ .Chart.AppVersion }} {{- end -}} {{/*