You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For that reason, _all defined template names should be namespaced._
Correct:
```yaml
{{- define "nginx.fullname" }}
{{/* ... */}}
{{ end -}}
```
Incorrect:
```yaml
{{- define "fullname" -}}
{{/* ... */}}
{{ end -}}
```
This section describes necessity of using namespaces in variables names, so the key difference is "nginx.fullname" vs "fullname".
But current and incorrect examples are also different in a dash symbol, added at the end of define in incorrect one: "{{- define "fullname" -}}".
I believe the only difference should be in naming: "nginx.fullname" vs "fullname".
The text was updated successfully, but these errors were encountered:
On Templates page https://helm.sh/docs/chart_best_practices/templates/#names-of-defined-templates in "Names of Defined Templates" section there is following text:
helm-www/content/en/docs/chart_best_practices/templates.md
Lines 29 to 45 in 7edf25d
This section describes necessity of using namespaces in variables names, so the key difference is "nginx.fullname" vs "fullname".
But current and incorrect examples are also different in a dash symbol, added at the end of define in incorrect one: "{{- define "fullname" -}}".
I believe the only difference should be in naming: "nginx.fullname" vs "fullname".
The text was updated successfully, but these errors were encountered: