Skip to content

fix(controller-runtime): fix metricsprovider wiring #2354

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

Conversation

celebdor
Copy link
Contributor

Upstream controller-runtime does not provide a way to pass a metricsprovider when creating a Controller. This results in metrics/workqueue not being exported.

Upstream controller-runtime does not provide a way to pass a
metricsprovider when creating a Controller. This results in
metrics/workqueue not being exported.

Signed-off-by: Antoni Segura Puimedon <[email protected]>
@openshift-ci openshift-ci bot requested review from dlom and lleshchi July 15, 2024 20:29
Copy link
Contributor

openshift-ci bot commented Jul 15, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: celebdor
Once this PR has been reviewed and has the lgtm label, please assign jstuever for approval. For more information see the Kubernetes Code Review Process.

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

Needs approval from an approver in each of these files:

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

@2uasimojo
Copy link
Member

Yes, this gels with what we discussed 👍

@2uasimojo
Copy link
Member

We expect /verify to fail since this is a direct edit of vendored code.

Copy link

codecov bot commented Jul 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.51%. Comparing base (1fce770) to head (57b9c2b).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2354   +/-   ##
=======================================
  Coverage   58.51%   58.51%           
=======================================
  Files         182      182           
  Lines       25884    25884           
=======================================
  Hits        15147    15147           
  Misses       9460     9460           
  Partials     1277     1277           

Copy link
Contributor

openshift-ci bot commented Jul 15, 2024

@celebdor: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/verify 57b9c2b link true /test verify

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.

@2uasimojo
Copy link
Member

/payload-job-with-prs periodic-ci-openshift-hive-master-periodic-e2e-gcp-weekly openshift/api#1958 openshift/installer#8723

Copy link
Contributor

openshift-ci bot commented Jul 17, 2024

@2uasimojo: the repo openshift/hive does not contribute to the OpenShift official images

@2uasimojo
Copy link
Member

We went with a different temporary fix (#2355). This one may still help inform what we want the upstream fix to look like.

@2uasimojo 2uasimojo closed this Jul 17, 2024
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