Hello Igor,
We maybe use something similar to your configuration.
it may be not the answer you want but we store it like so:
main configuration is in git in json (could have nested KV inside)
so in consul KV we have nice tree view of all our settings but in git we have human readable and the more important easy to edit json configuration files.
from the other side we use python consul lib + jsonmerge to have ability to override some default settings on the lower level.
about 10-20 lines of code to compile json back from KV on client side if needed
Also tree KV structure could easily be using with consul-template or whatever without any additional scripting.
But you will need some script to parse json if you will store it in value.
Hope this helps
Thanks,
Roman
пятница, 25 марта 2016 г., 11:53:19 UTC+1 пользователь Igor Spasić написал: