Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference ENV vars in config #9

Open
sleepycat opened this issue Jul 28, 2018 · 3 comments
Open

Reference ENV vars in config #9

sleepycat opened this issue Jul 28, 2018 · 3 comments

Comments

@sleepycat
Copy link
Contributor

It seems like it would be really useful to be able to reference environmental variables in the config.
Maybe something like this:

endpoints:
   - http://arangodb-local:8529
username: root
password: "{ARANGO_ROOT_PASSWORD}"
migrationspath: testdata/complete
db: MigoFull
extras:
  {patricksUser: jdavenpo,
   patricksPassword: L33t5uck3r5,
   shouldBeANumber: 10,
   secret: Lots of mayo}

This would make it easy to use arangomigo in container like a Kubernetes initialization container.
I'm no Gopher, but if I manage to hack together a PR would it be useful/of interest?

@virmundi
Copy link
Contributor

Sounds like a good idea. Please give it a shot.

@alexalv
Copy link

alexalv commented Jul 2, 2019

Hi! Is there any progress on this issue?
I would like to give it a try (and do a PR) if there is no one working on it already

@virmundi
Copy link
Contributor

virmundi commented Jul 2, 2019

Sure. Give it a shot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants