Helm Accessing Arbitrary Files inside Templates: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Overview=
=Overview=


The <code>Files</code> 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.
The <code>Files</code> 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]].


=Functions=
=Functions=

Revision as of 19:01, 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

Accessing Files inside Templates

Accessing Arbitrary Files inside Templates