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

feat: added global labelselector feature for podmonitors #402

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kovaxur
Copy link
Contributor

@kovaxur kovaxur commented Oct 26, 2023

Fixes #401

Motivation

We are using grafana-agent, which uses label selector for podMonitors, so we need to be able to set custom labels on the podMonitors resources.

Modifications

Added a global variable to set custom labels for all podMonitors. If someone needs more granular label setting, it needs to be implemented for each service.

Verifying this change

  • Make sure that the change passes the CI checks.

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.

Allow the set of custom labels on the podMonitor resources
1 participant