stefanprodan / mgob

MongoDB dockerized backup agent. Runs schedule backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Environment variables

skarj opened this issue · comments

Is there a way to set a password through an environment variable (from the Kubernetes secret) to avoid storing in the repository? Thanks for this great tool!

Implemented using init container and sed.

Hi @skarj would it be possible for you to share your implementation using init container ?

@skarj Thanks :) I am wondering what could be reason behind to use statefulset instead of using just deployment?

@vishnoisuresh the deployment spec doesn't support volume claim templates and you will probably need that if you want the local backups volume being automatically provisioned.