Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[prometheus-postgres-exporter] trimmed data_source_uri if no extra options are provided #1865

Conversation

gmelillo
Copy link
Contributor

@gmelillo gmelillo commented Mar 10, 2022

What this PR does / why we need it:

If .Values.config.datasource.extraParams is not configured during the upgrade the URI will end with &.

Special notes for your reviewer:

Despite not being an issue for the connection I find it cleaner to strip it out of the connection string.

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

…re provided

Signed-off-by: Gabriel Melillo <gabriel@melillo.me>
@zanhsieh zanhsieh merged commit ebf453f into prometheus-community:main Mar 11, 2022
Zempashi pushed a commit to Zempashi/prometheus-helm-charts that referenced this pull request Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants