What you would like to be added?
Currently there are 3 reconcilers - podclique, podcliquescalinggroup and podcliqueset. Each of these reconcilers manages components. The operator code for these components currently reside in internal/components. This creates it a bit hard to correlate the components to their respective controller. Given that the component operators are only going to be used by its respective controller, it makes sense to move the respective components within each controller for better correlation.
Why is this needed?
Components that are managed by a reconciler should be put within the respective controller package. This makes the code more cohesive and easier to comprehend.
What you would like to be added?
Currently there are 3 reconcilers -
podclique,podcliquescalinggroupandpodcliqueset. Each of these reconcilers manages components. The operator code for these components currently reside ininternal/components. This creates it a bit hard to correlate the components to their respective controller. Given that the component operators are only going to be used by its respective controller, it makes sense to move the respective components within each controller for better correlation.Why is this needed?
Components that are managed by a reconciler should be put within the respective
controllerpackage. This makes the code more cohesive and easier to comprehend.