github open-telemetry/opentelemetry-operator v0.156.0
Release v0.156.0

6 hours ago

0.156.0

🧰 Bug fixes 🧰

  • collector: Honor spec.observability.metrics.disablePrometheusAnnotations: true on update by removing the operator-stamped prometheus.io annotations from the pod template, not just stopping new ones from being added. (#5043)
    Previously the pod-template mutate path preserved any annotation that
    existed on the current resource but was absent from the desired render,
    so toggling disablePrometheusAnnotations from false to true on an
    existing OpenTelemetryCollector left the prometheus.io/scrape, port,
    and path annotations stuck on the rolled pods. The operator now stamps
    an ownership marker (operator.opentelemetry.io/prometheus-annotations-added)
    whenever it adds one of the default prometheus.io/* annotations, and
    the mutate path strips those annotations only when the marker is
    present on the existing pod template. This preserves prometheus.io/*
    annotations the user set out of band on the same collector.

Components

Don't miss a new opentelemetry-operator release

NewReleases is sending notifications on new releases.