Skip to content

Commit

Permalink
fix(common): generate version as per helm3 create (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Dec 3, 2020
1 parent 6b91eee commit 112999c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: common
description: Common chartbuilding components and helpers, based on incubator/common
type: library
version: 0.0.4
version: 0.0.5
appVersion: 0.0.0
home: https://helm.sh
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/common/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# common

![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![AppVersion: 0.0.0](https://img.shields.io/badge/AppVersion-0.0.0-informational?style=flat-square)
![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![AppVersion: 0.0.0](https://img.shields.io/badge/AppVersion-0.0.0-informational?style=flat-square)

Common chartbuilding components and helpers, based on incubator/common

Expand Down
File renamed without changes.
4 changes: 3 additions & 1 deletion charts/common/templates/_metadata_labels.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ helm.sh/chart: {{ template "common.chartref" . }}
app.kubernetes.io/app: {{ template "common.name" . }}
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
app.kubernetes.io/instance: {{ .Release.Name | quote }}
app.kubernetes.io/version: {{ .Release.Version | quote }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
{{- end -}}

0 comments on commit 112999c

Please sign in to comment.