diff options
author | Jude Venn <judev@cuttlefish.com> | 2019-04-29T22·13+0100 |
---|---|---|
committer | Vincent Ambo <github@tazj.in> | 2019-05-01T22·30+0100 |
commit | 6353ed9d142412ee2c9c656c47459c56b3cdf698 (patch) | |
tree | 2ca35bd912b7d5e232f9d6fd9963f45ce9ebf6db /templater/templater_test.go | |
parent | 8abe03de3c75dd1dc1f2f65ff71b1ec3888208c2 (diff) |
feat(templater): Add insertTemplate function
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
Diffstat (limited to 'templater/templater_test.go')
0 files changed, 0 insertions, 0 deletions