Closed torstenbrink closed 1 week ago
honestly, I don't know. Once it is in environment variable like that it should work. I am doing the same way. What helm chart do you use? It should be
- name: mgob
version: '2.1.0'
repository: 'https://maxisam.github.io/mgob'
Hi, first of all many thanks for support here. We were able to identify the issue itself as the chart you were refering to (2.1.0) does not provide this new announced feature:
Current default values:
image:
registry: docker.io
repository: maxisam/mgob
tag: "2.0.18-all"
However the image tag above doesn´t contain the feature yet.. so we had to update the image.tag to make it work.. see below:
image:
tag: "2.0.20-all"
Thanks, I should update the helm chart when I create a new version next time.
Hi, I´m experiencing an issue with the newly introduced feature to load ENV VARs to inject them into the backup plan configuration.
Specifically I´d like to insert the MongoDB password into the Backup Plan via ENV.
So here´s what I did.
a) Have a values.yaml file for the HELM chart:
b) Created the secret in the same namespace:
What did I verify:
The ENV is available within the container, so that´s fine.
What confused me a bit, is the cmd that is beeing used from mgob when trying to do a manual (or scheduled) backup:
It is missing the username and password parameter, which is obviously the reason why this is not working. However the username exists in the configuration. If I add the password manually in the yaml and try it with classic approach everything is fine.
Would be great to get some support on this, as I´m now kind of stuck with this (or too stupid ;-) )
Thanks
Torsten