HUB
Sign inSign up

solsson/gotemplate

By solsson

•Updated about 7 years ago

An init container that runs templating on config files

Image
0

3.2K

solsson/gotemplate repository overview

⁠gotemplate

Build Status Coverage Status

⁠Description

Apply go template over files ending with .template in the current directory.

For more information on Go Template functionality, check this link⁠.

This little utility just scan the current folder for *.template files and apply the go template⁠ over them.

Every matching *.ext.template file will render a file named *.generated.ext. Other matched file (if --pattern is supplied) will replace the file with the rendered content and rename the original file *.ext.original.

Documentation⁠

Tag summary

Content type

Image

Digest

Size

5.3 MB

Last updated

about 7 years ago

docker pull solsson/gotemplate