Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove Operator and CRD related code #83
This MR refactors the controller code of Kooper to make it simpler and remove the code related with the operator and CRD concepts.
Operator concept removed.
The concept of Operator in Kooper is simple, a controller and initialization of a resource. some time ago new tools started to arose to generate the CRD manifests easily, so you can register the CRD from a simple manifest outside the code. So knowing this, the need of initializing the CRD before starting the operator/controller is not required, the concept of the operator is not required anymore and only
Changes on packages
Since the operator concept has been removed almost all the packages related with the controller have been changed, also, the handlers and retrievers have been merged on the same package to simplify.
The tracing has been removed because it didn't add enough value on the controller side.
Some controller defaults have been rethink to something more appropriate like the default resync interval.
Because we have removed the operator concept, the CRD concept and all the helpers related with this initialization we have removed the