The rancher/rancher project uses generated wrangler controllers to manage Kubernetes objects. With the introduction of generics to golang in v1.18 we have the ability to consolidate this generated code into one package.
Goal for this Hackweek
- Core controller code is no longer defined in a large string.
- Make testable controller code can be tested.
- Remove a large number of duplicate code in Rancher ~20,000 lines
- Faster Unit Test
- Controllers can be created without code generation.
PR for controller refactor using Generics https://github.com/rancher/wrangler/pull/264
This project is part of:
Hack Week 22
A set of utilities to produce a "from scratch" OCI/Docker container using Opensuse/SLE rpms by ldragon
[comment]: # (Please use the project descriptio...