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

NO-JIRA: use scrape class to avoid TLS config repetitions #2492

Conversation

simonpasquier
Copy link
Contributor

@simonpasquier simonpasquier commented Oct 4, 2024

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

@openshift-ci-robot
Copy link
Contributor

@simonpasquier: This pull request explicitly references no jira issue.

In response to this:

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Oct 4, 2024
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 4, 2024
@openshift-ci openshift-ci bot requested review from jan--f and rexagod October 4, 2024 14:15
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 4, 2024
Copy link
Member

@slashpai slashpai left a comment

Choose a reason for hiding this comment

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

/retest-required

@simonpasquier
Copy link
Contributor Author

@slashpai the CI failure looks legit

@simonpasquier
Copy link
Contributor Author

/retest-required

Copy link
Contributor

openshift-ci bot commented Oct 11, 2024

@simonpasquier: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@simonpasquier
Copy link
Contributor Author

@jan--f this is a small improvement to reduce coupling between the service monitors and the platform Prometheus: instead of hardcoding file paths in all service monitors, we can refer to the scrape class name defined in the Prometheus object. Eventually we can modify other core operators to do the same.

@simonpasquier simonpasquier changed the title WIP: NO-JIRA: use scrape class to avoid TLS config repetitions NO-JIRA: use scrape class to avoid TLS config repetitions Oct 14, 2024
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 14, 2024
@jan--f
Copy link
Contributor

jan--f commented Nov 22, 2024

Sorry, lost track of this. Feel free to mark this critical if this should make it into 4.18. I assume though it can wait?
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 22, 2024
Copy link
Contributor

openshift-ci bot commented Nov 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jan--f, simonpasquier

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [jan--f,simonpasquier]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@simonpasquier
Copy link
Contributor Author

I assume though it can wait?

Totally.

cc @frzifus, if/when this merges, you won't be able to reuse the service monitors without supporting scrape classes in the opentelemetry operator (or a similar mechanism).

@openshift-merge-bot openshift-merge-bot bot merged commit 0d80b7e into openshift:master Nov 25, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants