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

Fix label selectors for ArgoCD servicemonitors #137

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

simu
Copy link
Member

@simu simu commented Nov 22, 2023

We renamed the ServiceMonitors in #129 without verifying that the renamed service monitors still discover any endpoints.

We need to split the ServiceMonitor name from the name used for the label selector to ensure that we can use an object name which doesn't collide with the operator-managed name, while still picking up the endpoints.

Checklist

  • The PR has a meaningful title. It will be used to auto generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.
  • Link this PR to related issues or PRs.

We renamed the ServiceMonitors in #129 without verifying that the
renamed service monitors still discover any endpoints.

We need to split the ServiceMonitor name from the name used for the
label selector to ensure that we can use an object name which doesn't
collide with the operator-managed name, while still picking up the
endpoints.
@simu simu added the bug Something isn't working label Nov 22, 2023
@simu simu requested a review from a team November 22, 2023 08:54
@simu simu merged commit fc274f2 into master Nov 22, 2023
10 checks passed
@simu simu deleted the fix/service-monitors branch November 22, 2023 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants