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-elasticsearch-exporter] Fix duplicate commonLabels in deployment.yaml #5329

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

veerendra2
Copy link
Contributor

@veerendra2 veerendra2 commented Feb 17, 2025

What this PR does / why we need it

  • Remove templating code which was adding commonLabels twice to the deployment

Which issue this PR fixes

Special notes for your reviewer

Checklist

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

This fixes an issue where commonLabels were being redundantly applied in the deployment template, causing YAML errors.
Fixes prometheus-community#5328

Signed-off-by: Veerendra <veerendra.kakumanu@staffbase.com>
Signed-off-by: Veerendra <veerendra.kakumanu@staffbase.com>
@veerendra2 veerendra2 marked this pull request as ready for review February 17, 2025 15:48
@zeritti zeritti merged commit 2ca2dfa into prometheus-community:main Feb 18, 2025
5 checks passed
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.

[prometheus-elasticsearch-exporter] commonLabels labels are adding twice in spec.template.metadata.labels
3 participants