diff options
Diffstat (limited to 'docs/templates.md')
-rw-r--r-- | docs/templates.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/templates.md b/docs/templates.md index 8bcc2c7f5665..d9ff0fd126e3 100644 --- a/docs/templates.md +++ b/docs/templates.md @@ -72,10 +72,11 @@ right. Some template functions come from Go's standard library and are listed in the [Go documentation][]. In addition the functions declared by [sprig][] are -available in kontemplate, as well as two custom functions: +available in kontemplate, as well as three custom functions: `json`: Encodes any supplied data structure as JSON. -`passLookup`: Looks up the supplied key in [pass][] +`passLookup`: Looks up the supplied key in [pass][]. +`fromFile`: Insert the contents of the given file from the resource set folder. ## Examples: |