cuddly-jelly-27016
05/31/2025, 12:10 AMflytepropeller mixes client-go and controller-runtime, not only making the code harder to read, but also requiring tracing through two libraries' code when issues arise, and possibly bypassing some cache and consistency mechanisms unintentionally.
### Goal: What should the final outcome look like, ideally?
Refactor flytepropeller, using either
• Pure client-go
• Pure controller-runtime
• Operator framework such as operator-sdk or kubebuilder.
### Describe alternatives you've considered
Wherever there is mixed usage of client-go and controller-runtime, clearly comment on why the mixed usage of both libraries is needed. Also, prevent force type-casting from one type to another type in the other library.
### Propose: Link/Inline OR Additional context
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
05/31/2025, 12:10 AM