Merge pull request #1514 from technosophos/docs/consistent-spacing

docs(chart_template_guide): fix spacing
pull/1536/head
Matt Butcher 9 years ago committed by GitHub
commit e4bbe33e92

@ -191,7 +191,7 @@ Let's start with `_helpers.tpl`:
chart: {{ .Chart.Name }} chart: {{ .Chart.Name }}
version: {{ .Chart.Version }} version: {{ .Chart.Version }}
{{ block "my_extra_labels" . }}extras: false{{ end }} {{ block "my_extra_labels" . }}extras: false{{ end }}
{{- end}} {{- end `u}}
``` ```
Inside of our `my_labels` template, we now declare a block called `my_extra_labels`. By default, this section will have one extra label: `extras: false`. If we were to execute this using the same `configmap.yaml` file from last time, we'd get this: Inside of our `my_labels` template, we now declare a block called `my_extra_labels`. By default, this section will have one extra label: `extras: false`. If we were to execute this using the same `configmap.yaml` file from last time, we'd get this:

Loading…
Cancel
Save