A simple utility for rendering Go Templates with the Sprig library and/or the Helm Templating Language.
Go to file
2023-10-21 15:29:26 +02:00
helm use helm engine for helm templating 2023-10-21 15:06:55 +02:00
.gitlab-ci.yml Update .gitlab-ci.yml file 2023-10-13 15:01:26 +00:00
go.mod begin adding helm compatibility layer 2023-10-15 13:43:28 +02:00
go.sum begin adding helm compatibility layer 2023-10-15 13:43:28 +02:00
LICENSE Add LICENSE 2023-10-12 18:04:03 +00:00
main.go use helm engine in cli 2023-10-21 15:29:26 +02:00
README.md clarify templating is sprig only 2023-10-13 16:30:42 +02:00

spry

Basic Sprig Template Rendering.

Usage Examples

$ ./spry
Usage of ./spry [Options] [Template Files]:
  -d string
        Output delimiter between template files rendered (default "---")
  -f value
        Specify a values file (JSON or YAML)
  -helm
        Helm compatibility: provided values will be nested under .Values
  -set value
        Set a specific value (foo.bar=spam)

Template Files can also be directories to recurse for templates.

If no template files are provided it will attempt read from STDIN.
If no input is available from STDIN it will print this usage message instead.
Pass only '-' to Template Files to force waiting for input.