diff --git a/charts/component/Chart.yaml b/charts/component/Chart.yaml index a33acc4..3aa119e 100644 --- a/charts/component/Chart.yaml +++ b/charts/component/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.0 +version: 0.2.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/component/templates/_helpers.tpl b/charts/component/templates/_helpers.tpl index cc8a372..9bfb7dd 100644 --- a/charts/component/templates/_helpers.tpl +++ b/charts/component/templates/_helpers.tpl @@ -38,9 +38,10 @@ app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- if and .Values.image .Values.image.tag }} app.kubernetes.io/image-tag: {{ .Values.image.tag | quote }} {{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- if .Values.global.labels }} +{{tpl .Values.global.labels .}} +{{- end }} {{- end }} - {{/* Selector labels */}}