-
Notifications
You must be signed in to change notification settings - Fork 19
feat: Convert Staged UpdateRun controller to use interfaces #272
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
feat: Convert Staged UpdateRun controller to use interfaces #272
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
ddc0271 to
3508fd0
Compare
Signed-off-by: Arvind Thirumurugan <arvindth@microsoft.com>
94f005f to
54974ac
Compare
| } | ||
| 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. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Signed-off-by: Arvind Thirumurugan <arvindth@microsoft.com>
Description of your changes
Fixes #
I have:
make reviewableto ensure this PR is ready for review.How has this code been tested
Special notes for your reviewer