Closed hypesystem closed 9 months ago
The syntax for environment variable is PLAN-ID_KEY_PROPERTY (e.g. mongo-test_SMTP_SERVER=smtp.company.com)
ex:
Due to environment name convention, I made some breaking changes in 2.0.19 https://github.com/maxisam/mgob/releases/tag/2.0.19
The helm chart didn't fit my exact needs in a recent project, so I ended up deploying mgob as a Deployment in a recent Kubernetes setup instead.
One thing I was missing was the ability to configure the image via environment variables. I ended up doing a custom setup, like this - with secrets for username and password pulled from the secrets automatically created by the mongodb community operator:
The complex setup of running
sed
on a config.yml template for each file is clearly not optimal. I was wondering if you might consider better support for configuration of plans through environment variables for the docker image itself?I'm not sure what the optimal format would be, but am open to working on it together if you want input/think this might be a valuable feature :-)