about summary refs log tree commit diff
path: root/docs/templates.md
AgeCommit message (Collapse)AuthorFilesLines
2019-05-01 feat(templater): Add insertTemplate functionJude Venn1-1/+3
Similar to insertFile, but runs the templating against the file before inserting. This is useful for sharing common config between yaml files, e.g. volume mounts in a deployment.yaml and cronjob.yaml, and it's useful to be able to use the `configHash` annotation pattern with a templated configmap.yaml
2018-03-29 feat(templater) Add a template function to insert surrounding repo's Git hashnoqcks1-0/+4
A template function has been added that allows one to template the Git hash of the surrounding repo. This is useful to be able to inspect the deployment revision of an object in Kubernetes.
2018-03-09 refactor(templater): Pass resource set path to insertFile functionVincent Ambo1-3/+4
This is actually several refactors in one: * rename "fileContent" function to "insertFile" * pass the resource set path to the "insetFile" function * update docs and example with a pipeline including indentation adjustments for the inserted file
2018-03-09 feat(templater): Added support for file includeNiklas Wik1-2/+3
Adds a 'fileContent' template function to insert the literal contents of a file specified in the template. Signed-off-by: Niklas Wik <niklas.wik@nokia.com>
2017-08-04 docs: Add tables of content to all documentation filesVincent Ambo1-0/+13
2017-08-04 docs templates: Document some template logicVincent Ambo1-1/+42
Adds documentation for `if` and `range` statements in Go templates and also more explicitly points people at the Go documentation for more information.
2017-05-08 docs: Document template formatVincent Ambo1-0/+91