Skip to content

Conversation

@yevgeny-shnaidman
Copy link
Contributor

changing the manager's main to use MIC and MBSC reconcilers instead of BuildSignReconciler

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 27, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: yevgeny-shnaidman

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

The pull request process is described here

Details 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 27, 2025
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 27, 2025
@netlify
Copy link

netlify bot commented Mar 27, 2025

Deploy Preview for kubernetes-sigs-kmm ready!

Name Link
🔨 Latest commit 3ce9831
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kmm/deploys/67ebd0509b3b6600082da398
😎 Deploy Preview https://deploy-preview-1060--kubernetes-sigs-kmm.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov-commenter
Copy link

codecov-commenter commented Mar 27, 2025

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 74.63%. Comparing base (fa23a9b) to head (3ce9831).
Report is 248 commits behind head on main.

Files with missing lines Patch % Lines
cmd/manager/main.go 0.00% 10 Missing ⚠️
internal/controllers/mbsc_reconciler.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1060      +/-   ##
==========================================
- Coverage   79.09%   74.63%   -4.46%     
==========================================
  Files          51       77      +26     
  Lines        5109     6865    +1756     
==========================================
+ Hits         4041     5124    +1083     
- Misses        882     1529     +647     
- Partials      186      212      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yevgeny-shnaidman yevgeny-shnaidman force-pushed the yevgeny/switch-to-mic-mbsc branch from f542188 to bf14330 Compare April 1, 2025 06:46
Comment on lines +229 to +210
//[TODO] - update the preflight flow with the MIC/MBSC implementation and then uncomment the preflight conroller
/*
preflightStatusUpdaterAPI := preflight.NewStatusUpdater(client)
preflightAPI := preflight.NewPreflightAPI(client, buildAPI, signAPI, registryAPI, preflightStatusUpdaterAPI, kernelAPI)
if err = controllers.NewPreflightValidationReconciler(client, filterAPI, metricsAPI, preflightStatusUpdaterAPI, preflightAPI).SetupWithManager(mgr); err != nil {
cmd.FatalError(setupLogger, err, "unable to create controller", "name", controllers.PreflightValidationReconcilerName)
}
if err = controllers.NewPreflightValidationReconciler(client, filterAPI, metricsAPI, preflightStatusUpdaterAPI, preflightAPI).SetupWithManager(mgr); err != nil {
cmd.FatalError(setupLogger, err, "unable to create controller", "name", controllers.PreflightValidationReconcilerName)
}
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we do it in the same PR? If you insist on keeping small changes then I would do a multi-commit PR but I think it makes sense to put all of the following inside the same PR and it will be easier for me to review as well:

  • Create the new controllers
  • Remove the old controllers
  • Use the new buildsign pkg everywhere needed
  • Remove the old build/sign packages

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it would be better to do it in a separate PR: preflight is not a major priority, and i am not yet sure how many changes i would need to make in order to make it work.

changing the manager's main to use MIC and MBSC reconcilers instead of
BuildSignReconciler
@yevgeny-shnaidman yevgeny-shnaidman force-pushed the yevgeny/switch-to-mic-mbsc branch from bf14330 to 3ce9831 Compare April 1, 2025 11:38
@ybettan
Copy link
Contributor

ybettan commented Apr 2, 2025

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 2, 2025
@k8s-ci-robot k8s-ci-robot merged commit bbc734a into kubernetes-sigs:main Apr 2, 2025
22 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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants