⚠ builder: return error when multiple reconcilers are set#2415
⚠ builder: return error when multiple reconcilers are set#2415k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
Conversation
|
Sounds good, but not sure if someones have already relied on the behavior that c-r will use the reconciler in options first with no error? |
I would assume that if they do they would get an error now and then can decide which reconciler they want to use. If they want to keep using the one from options it should be trivial to pass in "nil" into Build/Complete |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman, sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Just saw this and was confused why we would want this behavior. I also looked at #1021 but I don't understand the reasoning.
If we want a silent overwrite behavior I would have expected Build/Complete to overwrite the reconciler from the previous set ctrlOptions not the other way around
I think this implementation still covers the original ask, folks can pass in a
nilreconciler to Build/Complete