0PricingLogin
Helm Academy · Lesson

Inserting Partials with template and include

Why include composes with pipelines and template does not.

Calling a Partial

A defined partial does nothing until you call it. Helm gives you two actions for this: template and include.

The template Action

The template action renders a named partial inline. You pass the partial name and a scope object for it to read.

{{ template "mychart.labels" . }}

All lessons in this course

  1. Defining a Partial with define
  2. Inserting Partials with template and include
  3. The Standard Fullname and Labels Helpers
  4. Passing Scope into a Named Template
← Back to Helm Academy