-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Make controller mandatory param for external object tracker #11283
🌱 Make controller mandatory param for external object tracker #11283
Conversation
17a1348
to
d273cb7
Compare
Similar kind of change is required for few other test files as well, Just wanted to get confirmation on the approach to follow to do wider set of changes. |
I will fix this based on the review comments. |
d273cb7
to
c4c7b78
Compare
Made most of the changes, Only topology tests are failing, Exploring on possible ways to fix them. |
c4c7b78
to
d44453e
Compare
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.
All the changes are done and the PR is ready for review. Thank you.
@@ -138,6 +141,11 @@ func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, opt | |||
func (r *Reconciler) SetupForDryRun(recorder record.EventRecorder) { | |||
r.desiredStateGenerator = desiredstate.NewGenerator(r.Client, r.ClusterCache, r.RuntimeClient) | |||
r.recorder = recorder | |||
r.externalTracker = external.ObjectTracker{ |
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.
Need special attention, I thought it does not have any other side effects so did this change make topology test pass.
Just a few minor findings |
Updated the PR with following changes
PR is ready for review. Thanks. |
2cadd19
to
ebfb23b
Compare
Thank you very much!! /lgtm |
LGTM label has been added. Git tree hash: 531b72e6ea0b6c8735c46c8c5d5a18fa2b4e8f95
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This PR makes changes to make controller param in object tracker a mandatory one, Till today function was behaving as no-op. This mandate make few test files to be updated to set the controller.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes # Follow up of discssion #11188 (comment)