Coder Social home page Coder Social logo

Export support? about consulator HOT 6 CLOSED

prologic avatar prologic commented on July 20, 2024
Export support?

from consulator.

Comments (6)

lewispeckover avatar lewispeckover commented on July 20, 2024

Hmm, would it add anything over the native consul kv export?

from consulator.

prologic avatar prologic commented on July 20, 2024

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?

from consulator.

prologic avatar prologic commented on July 20, 2024

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?

from consulator.

lewispeckover avatar lewispeckover commented on July 20, 2024

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.

from consulator.

prologic avatar prologic commented on July 20, 2024

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:

  • Easy to read for humans
  • Easy to manipulate for humans

JSON is "okay" but it gets a bit tedious when you have large quantities of it.

from consulator.

prologic avatar prologic commented on July 20, 2024

So after playing around with various tools to ingest data into Consul, yq, yj and consul itself I realise consulator doesn't need an export at all :) Turns out that consul kv import doesn't quite import plain 'ol JSON -- So I need to use your nicely written consulator anyway :)

from consulator.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.