Helm Accessing Arbitrary Files inside Templates: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with " The access is provided via several functions: ====<tt>Files.Get</tt>==== <font size=-1> {{ .Files.Get <''file-name''> }} </font> ====<tt></tt>==== ====Accessing File...")
 
No edit summary
Line 1: Line 1:
=External=
=Internal=
* [[Helm_Templates#Files|Helm Templates]]
=Overview=


The access is provided via several functions:
The access is provided via several functions:


====<tt>Files.Get</tt>====
=Functions=
==<tt>Files.Get</tt>==
<font size=-1>
<font size=-1>
  &#123;{ .Files.Get <''file-name''> }}
  &#123;{ .Files.Get <''file-name''> }}
</font>
</font>
 
==<tt>Files.GetBytes</tt>==
====<tt></tt>====


====Accessing Files inside Templates====
====Accessing Files inside Templates====
{{Internal|Helm_install#Accessing_Arbitrary_Files_inside_Templates|Accessing Arbitrary Files inside Templates}}
{{Internal|Helm_install#Accessing_Arbitrary_Files_inside_Templates|Accessing Arbitrary Files inside Templates}}

Revision as of 19:01, 2 March 2022

External

Internal

Overview

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