diff --git a/docs/chart_template_guide/variables.md b/docs/chart_template_guide/variables.md index f9f5768c9..b55e6e422 100644 --- a/docs/chart_template_guide/variables.md +++ b/docs/chart_template_guide/variables.md @@ -111,10 +111,10 @@ kind: Secret metadata: name: {{ .name }} labels: -# Many helm templates would use `.` below, but that will not work, -# however `$` will work here + # Many helm templates would use `.` below, but that will not work, + # however `$` will work here app: {{ template "fullname" $ }} -# I cannot reference .Chart.Name, but I can do $.Chart.Name + # I cannot reference .Chart.Name, but I can do $.Chart.Name chart: "{{ $.Chart.Name }}-{{ $.Chart.Version }}" release: "{{ $.Release.Name }}" heritage: "{{ $.Release.Service }}"