pschiffe / docker-pdns

Docker images for PowerDNS
MIT License
274 stars 81 forks source link

replace envtpl with something better #71

Closed pschiffe closed 10 months ago

pschiffe commented 2 years ago

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

spijet commented 2 years ago

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.

pschiffe commented 10 months ago

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