stefanprodan / mgob

MongoDB dockerized backup agent. Runs schedule backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more.
MIT License
769 stars 152 forks source link

Add support for environment variable expansion within configuration #125

Closed trust56 closed 1 year ago

trust56 commented 3 years ago

Hello,

it would be great if references to environment variables could be written in the configurations of mgob. That way one could inject DB connection strings as secrets into the configuration. I'm aware, that mgob supports k8s secrets, but still I would prefer env vars for some reason.

Could you please take a look at PR #62 , which I think does exactly this?

Thanks in advance :)