Skip to content

Commit

Permalink
Update _helpers.tpl - Fallback the "appVersion" to "version", if not …
Browse files Browse the repository at this point in the history
…specified
  • Loading branch information
svscorp authored Jan 3, 2025
1 parent d137c48 commit c9ebbb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/virtual-kubelet/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Return the common labels used by components.
app.kubernetes.io/component: kubelet
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: {{ include "virtual-kubelet-saladcloud.name" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | default .Chart.Version }}
helm.sh/chart: {{ include "virtual-kubelet-saladcloud.chart" . }}
{{ include "virtual-kubelet-saladcloud.matchLabels" . }}
{{- with .Values.additionalLabels -}}
Expand Down

0 comments on commit c9ebbb5

Please sign in to comment.