git2consul icon indicating copy to clipboard operation
git2consul copied to clipboard

Add expand_keys type support for yaml files

Open stephenlawrence opened this issue 8 years ago • 5 comments

As a user, I would like to be able to import a .yml file and have git2consul split each key/value into k/v in Consul similar to how the json expand_keys works. This would allow me to standardize my configurations to yml.

stephenlawrence avatar Mar 03 '16 23:03 stephenlawrence

Sounds good. I plan to do this within the scope of GH-49.

ryanbreen avatar Mar 04 '16 03:03 ryanbreen

Is there an ETA on this enhancement, thanks?

syamsathyan avatar Apr 25 '16 22:04 syamsathyan

Rather than an ETA, I'd be happy to know if it's being considered or worked on. If so, then I would know that eventually I can use it. For now, I wrote my own janky yml->consul code.

spanktar avatar May 06 '16 21:05 spanktar

@spanktar Yes, it is being considered. We are working refactor of git2consul to include file backends, but there is no ETA on this yet. Apologies for the delay!

Edit: If you've got tooling that can do the translation, feel free to share it with the community and link it here. :)

calvn avatar May 06 '16 21:05 calvn

https://github.com/nodeca/js-yaml i've a project using js-yaml pretty easy to use.

arthurtsang avatar Jun 17 '16 06:06 arthurtsang