`*/ }}` would cause an error actually, one must use `*/}}` or `*/ -}}`. Not obvious at all.
pull/3856/head
Erik Sundell 7 years ago committed by GitHub
parent ae7ce6cad4
commit 3f5e82c832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 -}}

Loading…
Cancel
Save