This project uses controllers which watches over 3 cr's. Controller plugin(lvmnodes). Node plugin(lvmvolumes, lvmnodes, lvmsnapshots)
Currently all these controllers are using generated code to implement client. We could use dynamic client from client-go which would reduce code foot prints and will make code more readable as well. In addition to that i am adding only 1 method which would create and return controllers as opposed to using multiple methods to build controller.
Progress on each controller:
Node plugin:
[x] lvmvolumes : Refactored and tested. WIP pr is raised
[x] lvmnodes : Refactored and tested. WIP pr is raised
[x] lvmsnapshots: Refactored and tested. WIP pr is raised
This project uses controllers which watches over 3 cr's. Controller plugin(lvmnodes). Node plugin(lvmvolumes, lvmnodes, lvmsnapshots)
Currently all these controllers are using generated code to implement client. We could use dynamic client from client-go which would reduce code foot prints and will make code more readable as well. In addition to that i am adding only 1 method which would create and return controllers as opposed to using multiple methods to build controller.
Progress on each controller:
Node plugin:
Controller plugin:
PR: https://github.com/openebs/lvm-localpv/pull/186