|
|
|
|
|
by cppforlife
2540 days ago
|
|
> ...but the goal is that you should choose whatever templating language you already use for your website most common templating languages (especially textual templating languages like go's text/template lib) are not great at templating structures (yaml, json, etc.). you quickly run into indentation, escaping and similar problems. > I disagree with the way kustomize and jsonnet approach this, learning a new templating language is almost never the right solution. i've recently open sourced a tool ytt (https://get-ytt.io) that is yaml structure aware, to avoid problems mentioned above. i do agree that learning new tool/language is an overhead but it's been interesting to try to build a tool on top of common tech, yaml and python-like language (starlark), to ease the learning curve. good to see that your tool allows integration with other templating tools. |
|
[1] https://github.com/distributed-containers-inc/sanic-template...