Closed prologic closed 5 years ago
Hmm, would it add anything over the native consul kv export
?
Hmm tbh I didn't see that consul
had consul kv import
and consul kv export
:D
I have to ask then... What is the purpose of this tool consulator -- Just to handle YAML representation?
Import and synchronize your Consul KV data from JSON and YAML
It seems the native consul kv import|export
already does this well for JSON right?
If you simply want to back up and restore then the native import/export will indeed do the trick. This tool was created to let you work with a more logical & user-friendly representation of the data.
This tool was created to let you work with a more logical & user-friendly representation of the data
That's precisely how/why I came across this. I want import/export -- But I also want it in a form that's:
JSON is "okay" but it gets a bit tedious when you have large quantities of it.
Would you consider the addition of an "export" feature and associated command? The idea basically to mirror the
import
facility. Take the contents of Consul and export it as either JSON or YAML.I'm hesitant to make
sync
a 3-way sync; but if you are open to the above we can explore that layer or just make this a "user problem" to deal with.