Helm Accessing Arbitrary Files inside Templates: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
</font>
</font>
==<tt>Files.GetBytes</tt>==
==<tt>Files.GetBytes</tt>==
====Accessing Files inside Templates====
{{Internal|Helm_install#Accessing_Arbitrary_Files_inside_Templates|Accessing Arbitrary Files inside Templates}}

Revision as of 19:03, 2 March 2022

External

Internal

Overview

The Files object provide access to all non-special files in the chart. It cannot be used to access templates. The access is provided via several functions.

Functions

Files.Get

{{ .Files.Get <file-name> }}

Files.GetBytes