From 3f674a7411f66c3c8fb7a45b0650b94f83219446 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Fri, 10 Aug 2018 15:26:53 -0600 Subject: [PATCH] docs(alpine): quote release label value (#4460) Labels should be quoted so that values such as "true" or "1" are not interpolated to the wrong type. --- docs/examples/alpine/templates/alpine-pod.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/alpine/templates/alpine-pod.yaml b/docs/examples/alpine/templates/alpine-pod.yaml index beafd7668..e6b2fe5e8 100644 --- a/docs/examples/alpine/templates/alpine-pod.yaml +++ b/docs/examples/alpine/templates/alpine-pod.yaml @@ -9,7 +9,7 @@ metadata: app.kubernetes.io/managed-by: {{ .Release.Service }} # The "app.kubernetes.io/instance" convention makes it easy to tie a release to all of the # Kubernetes resources that were created as part of that release. - app.kubernetes.io/instance: {{ .Release.Name }} + release: {{ .Release.Name | quote }} # This makes it easy to audit chart usage. helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} app.kubernetes.io/name: {{ template "alpine.name" . }}