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

Enable ServiceMonitor by default, if available #320

Merged
merged 3 commits into from
Mar 25, 2025

Conversation

davidcollom
Copy link
Collaborator

As with #300 - It can become challenging for new users on getting started, therefore I propose we change the way that
we deploy the ServiceMonitor resource, if there is a ServiceMonitor in the cluster.

The ServiceMonitor can be disabled via the same valye serviceMonitor.enabled and setting it to false.

N.B: This IMO would be a minor release vs patch

@davidcollom davidcollom requested review from aidy and hawksight January 24, 2025 11:11
- it: Able to provide custom labels
capabilities:
apiVersions:
- "monitoring.coreos.com/v1/ServiceMonitor"
set:
serviceMonitor.enabled: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could probably remove this line, from this test if enabled by default?

Copy link
Member

@hawksight hawksight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good change. Only one very minor nit, feel free to ignore as it has no impact :)

@davidcollom davidcollom merged commit b930665 into main Mar 25, 2025
9 checks passed
@davidcollom davidcollom deleted the enable-servicemonitor-if-available branch March 25, 2025 12:38
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.

2 participants