Skip to content

Conversation

@Arvindthiru
Copy link
Collaborator

@Arvindthiru Arvindthiru commented Oct 8, 2025

Description of your changes

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

image

@codecov
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

❌ Patch coverage is 79.82456% with 23 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/controllers/updaterun/controller.go 76.59% 15 Missing and 7 partials ⚠️
pkg/controllers/updaterun/initialization.go 80.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Arvindthiru Arvindthiru force-pushed the stagedUpdateRunController branch from ddc0271 to 3508fd0 Compare October 9, 2025 00:08
@Arvindthiru Arvindthiru marked this pull request as ready for review October 9, 2025 17:46
Signed-off-by: Arvind Thirumurugan <arvindth@microsoft.com>
@Arvindthiru Arvindthiru force-pushed the stagedUpdateRunController branch from 94f005f to 54974ac Compare October 9, 2025 17:59
}
klog.InfoS("Added the staged update run finalizer", "stagedUpdateRun", klog.KObj(updateRun))
klog.InfoS("Added the updateRun finalizer", "updateRun", klog.KObj(updateRun))
// TODO(arvindth): update the variable name for finalizer.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we only need to update the variable name but not the value?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The value update is not backwards compatible we need special logic to handle conversion for existing updateRuns

Copy link
Collaborator

Choose a reason for hiding this comment

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

The current value is ClusterStagedUpdateRunFinalizer = FleetPrefix + "stagedupdaterun-finalizer". We probably do not need to change it at all.

Arvind Thirumurugan added 2 commits October 9, 2025 16:54
Signed-off-by: Arvind Thirumurugan <arvindth@microsoft.com>
Signed-off-by: Arvind Thirumurugan <arvindth@microsoft.com>
@Arvindthiru Arvindthiru merged commit a6e567e into kubefleet-dev:main Oct 10, 2025
13 of 16 checks passed
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