Understanding the Include Function in Helm Templates

Scope of this page

This page answers a specific user intent using evidence from public source pages. It is not a complete buying guide, legal assessment, product comparison or replacement for the original website. Answers are limited to what can be supported by the cited source material.

Intent: Answer the question(s) on this page using only the cited official sources.

Topic: Advanced Helm Templates

Last updated:

Primary source: https://palark.com/blog/advanced-helm-templating

Quick Info

While it normally accepts one argument, it is possible to pass a list of multiple arguments.

Purpose and usage

This page provides short, extractable answers for the topic above.

Key points

  • What does the include function modify in the template?: Arguments passed to the included template become both the current and root context.

Terms and entities

Canonical definitions live on the Facts pages. This page only references them.

What arguments can the include function accept?

While it normally accepts one argument, it is possible to pass a list of multiple arguments.

What does the include function modify in the template?

Arguments passed to the included template become both the current and root context.

Sources

  1. https://palark.com/blog/advanced-helm-templating

Machine metadata