Skip to content

Reference ENV vars in config #9

Description

@sleepycat

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions