Add app.kubernetes.io/version based on AppVersion (#18194)

Signed-off-by: jw-maynard <jmaynard@playq.net>
This commit is contained in:
jw-maynard
2023-08-07 07:50:40 -07:00
committed by GitHub
parent 494f4e88ed
commit 4f698f8ac5
2 changed files with 3 additions and 2 deletions

View File

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

View File

@@ -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 -}}
{{/*