8000 fix: prevent duplicate authentication settings in PodMonitor by simonpasquier · Pull Request #7975 · prometheus-operator/prometheus-operator · GitHub
[go: up one dir, main page]

Skip to content

Conversation

simonpasquier
Copy link
Contributor
@simonpasquier simonpasquier commented Oct 3, 2025
edited
Loading

Description

This commit ensures that the operator discards PodMonitor resources with duplicate authentication settings. Otherwise Prometheus fails to load the generated configuration.

I'll follow-up with the other resources (e.g. ServiceMonitor).

Type of change

What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Verification

Please check the Prometheus-Operator testing guidelines for recommendations about automated tests.

Changelog entry

Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.


@simonpasquier simonpasquier requested a review from a team as a code owner October 3, 2025 13:43
This commit ensures that the operator discards PodMonitor resources with
duplicate authentication settings. Otherwise Prometheus fails to load
the generated configuration.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
@simonpasquier simonpasquier force-pushed the drop-invalid-authn-settings branch from 3acb029 to 431f734 Compare October 3, 2025 13:52
@simonpasquier simonpasquier requested a review from slashpai October 3, 2025 13:59
@simonpasquier simonpasquier merged commit 51cba2b into prometheus-operator:main Oct 7, 2025
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0