docker-pdns icon indicating copy to clipboard operation
docker-pdns copied to clipboard

replace envtpl with something better

Open pschiffe opened this issue 2 years ago • 1 comments

envtpl project is most likely dead, with last commit in 2018 - https://github.com/andreasjansson/envtpl it's also not compatible with the latest jinja2, which makes maintaining little bit harder

ideal replacement would probably be something statically linked, maybe go based, with minimum deps

possible alternatives (must support input from shell env vars): https://github.com/subfuzion/envtpl https://github.com/tsg/gotpl

pschiffe avatar Mar 26 '22 11:03 pschiffe

I personally use belitre/gotpl, which itself is a fork of tsg/gotpl with some functions ported over from Helm. Unfortunately, it doesn't take any variables from the environment (only from "values" files and -s cmdline flag), but there's another fork that does support environment variables: CartoDB/gotpl@0a78f0.

spijet avatar Mar 28 '22 09:03 spijet

This is now implemented. In the end I went with https://github.com/kha7iq/subvars

pschiffe avatar Dec 19 '23 17:12 pschiffe