Helm Accessing Arbitrary Files inside Templates: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 1: Line 1:
=External=
=External=
* https://helm.sh/docs/chart_template_guide/accessing_files/
=Internal=
=Internal=
* [[Helm_Templates#Files|Helm Templates]]
* [[Helm_Templates#Files|Helm 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

Accessing Files inside Templates

Accessing Arbitrary Files inside Templates