Sprig dict: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* [[Helm_Templates#Storage|Helm Templates]] | * [[Helm_Templates#Storage|Helm Templates]] | ||
=Overview= | =Overview= | ||
dict can be used to pass arguments to sub-templates: {{Internal|Helm_Named_Templates#Passing_Arguments_to_Sub-templates|Passing Arguments to Sub-templates}} | A dict instance is used as the [[Helm_Templates#Scope|root scope]] by Helm while rendering templates. dict instances can also be used to pass arguments to sub-templates: {{Internal|Helm_Named_Templates#Passing_Arguments_to_Sub-templates|Passing Arguments to Sub-templates}} |
Revision as of 02:23, 8 October 2020
External
Internal
Overview
A dict instance is used as the root scope by Helm while rendering templates. dict instances can also be used to pass arguments to sub-templates: