We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9448cfe commit 4888ba8Copy full SHA for 4888ba8
charts/hello-world/templates/_helpers.tpl
@@ -23,6 +23,13 @@ If release name contains chart name it will be used as a full name.
23
{{- end }}
24
25
26
+{{/*
27
+Create chart name and version as used by the chart label.
28
+*/}}
29
+{{- define "hello-world.chart" -}}
30
+{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
31
+{{- end }}
32
+
33
{{/*
34
Common labels
35
*/}}
0 commit comments