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