Helm Accessing Arbitrary Files inside Templates: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:
=Internal=
=Internal=
* [[Helm_Templates#Files|Helm Templates]]
* [[Helm_Templates#Files|Helm Templates]]
* [[Helm_ConfigMap_and_Secrets#Overview|Helm ConfigMap and Secrets]]


=Overview=
=Overview=

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