From 3f5e82c83207c7444f98cc65a73bf71a0babeb1d Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Sun, 8 Apr 2018 23:18:47 +0200 Subject: [PATCH] Typo fix `*/ }}` would cause an error actually, one must use `*/}}` or `*/ -}}`. Not obvious at all. --- docs/chart_best_practices/templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chart_best_practices/templates.md b/docs/chart_best_practices/templates.md index c9995ea0a..7b21c5fea 100644 --- a/docs/chart_best_practices/templates.md +++ b/docs/chart_best_practices/templates.md @@ -155,7 +155,7 @@ Template comments should be used when documenting features of a template, such a ```yaml {{- /* mychart.shortname provides a 6 char truncated version of the release name. -*/ }} +*/ -}} {{ define "mychart.shortname" -}} {{ .Release.Name | trunc 6 }} {{- end -}}