Skip to content

Commit 82c218a

Browse files
committed
Template best practices: removed edge case idea
Signed-off-by: Erik Sundell <[email protected]>
1 parent 5b3af48 commit 82c218a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

content/en/docs/chart_best_practices/templates.md

-12
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,6 @@ apiVersion: v1
9999
{{- end }}
100100
```
101101

102-
Blocks (such as control structures) may be indented to indicate flow of the
103-
template code.
104-
105-
```yaml
106-
{{- range .Values.elements }}
107-
{{- print "my element is" . }}
108-
{{- end }}
109-
```
110-
111-
However, since YAML is a whitespace-oriented language, it is often not possible
112-
for code indentation to follow that convention.
113-
114102
## Whitespace in Generated Templates
115103

116104
It is preferable to keep the amount of whitespace in generated templates to a

0 commit comments

Comments
 (0)