[helm/charts] [stable/prometheus-mongodb-exporter] Possibility to also add a custom key in the existing secret (#23262)

From: notifications@github.com
Domain: IP info github.com
MX-server: IP info out-27.smtp.github.com
Size: 4204 Bytes
Create: 2020-07-20
Update: 2020-07-20
Score: 0
Safe: Yes

Outbound domains: github.com |

Signed-off-by: William Tavares wtc@hellofresh.com

What this PR does / why we need it:

We have a special case when using the MongoDB Atlas Service Broker, the secret key is defined as connection_string, so in this case, we need also to provide the secret key. If no value is provided the default mongodb-uri is provided as usual.

Which issue this PR fixes


Special notes for your reviewer:



[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • DCO signed
  • Chart Version bumped
  • Variables are documented in the README.md
  • Title of the PR starts with chart name (e.g. [stable/mychartname])

You can view, comment on, or merge this pull request online at:


Commit Summary

  • Possibility to also add a custom key in the secret

File Changes

  • M stable/prometheus-mongodb-exporter/Chart.yaml (2)
  • M stable/prometheus-mongodb-exporter/README.md (3)
  • M stable/prometheus-mongodb-exporter/templates/_helpers.tpl (13)
  • M stable/prometheus-mongodb-exporter/templates/deployment.yaml (3)
  • M stable/prometheus-mongodb-exporter/templates/secret.yaml (4)
  • M stable/prometheus-mongodb-exporter/values.yaml (1)

Patch Links:

  • https://github.com/helm/charts/pull/23262.patch
  • https://github.com/helm/charts/pull/23262.diff

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Want to protect your real email from messages like this? Use TempM email and be more secure on the internet.