Hacker News new | ask | show | jobs
by verdverm 1638 days ago
It's often better for provenance to keep the parameters in git with the code. Doing something like you want requires changing the code to query, adds a runtime dependency, and generally adds complications. Think about a flip side, in code reviews and easily seeing what parameters are changing with this deployment.

You might look at a couchbase or couchdb based solution. They have versioning and rudimentary UIs. You might also look into CUE(lang) as a better format.

Any solution will depend on how your code is organized in repositories. Maybe you have some system that collects all the parameters and presents them only for informational purposes, rather than having prod query a dynamic database for configuration.

Thinking about it, Kubernetes offers most of your desired solution...

1 comments

i wasnt aware of the versioning bit in couchdb -- will look into that! thanks a lot!