Skip to content

[prometheus-cloudwatch-exporter] Add commonLabels support#6608

Open
firasmosbehi wants to merge 1 commit into
prometheus-community:mainfrom
firasmosbehi:fix/cloudwatch-commonlabels-6247
Open

[prometheus-cloudwatch-exporter] Add commonLabels support#6608
firasmosbehi wants to merge 1 commit into
prometheus-community:mainfrom
firasmosbehi:fix/cloudwatch-commonlabels-6247

Conversation

@firasmosbehi

Copy link
Copy Markdown
Contributor

What this PR does

Adds commonLabels support to the prometheus-cloudwatch-exporter chart and applies those labels to all chart-managed resources.

Changes

  • add commonLabels in values.yaml
  • add reusable labels helper that includes chart labels + commonLabels
  • apply helper labels to all generated resources (Deployment, Service, ServiceAccount, ConfigMap, Secret, RBAC objects, Ingress, PodDisruptionBudget, ServiceMonitor, PrometheusRule)
  • add CI values scenario validating commonLabels
  • bump chart version 0.28.1 -> 0.28.2

Closes #6247

Testing

  • ct lint --config .github/linters/ct.yaml --charts charts/prometheus-cloudwatch-exporter
  • helm template test charts/prometheus-cloudwatch-exporter -f charts/prometheus-cloudwatch-exporter/ci/common-labels-values.yaml | rg '^\s+team: observability$'

Signed-off-by: Firas Mosbehi <firas.mosbehi@insat.ucar.tn>
@sellers

sellers commented Mar 5, 2026

Copy link
Copy Markdown

This is similar to #6711

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-cloudwatch-exporter] Adding commonLabels functionality that adds labels to all

2 participants