Is your feature request related to a problem? Please describe.
We should refactor rke2 provisioning into more isolated components and improve test coverage.
Currently, that part of the provisioning journey is very fragile and it is easy to introduce regressions.
Describe the solution you'd like
We should :
- Break it into smaller components ie separate logic that handles machine pools, separate logic that handles add ons. AI can be used to come up with a plan and some of the implementation
- Add more unit test and E2E test coverage. One possibility is to add E2E test with mocks to be run as part of the PR review while having a second set of tests with unmocked data for overnight Jenkins jobs.
Describe alternatives you've considered
Additional context
Is your feature request related to a problem? Please describe.
We should refactor rke2 provisioning into more isolated components and improve test coverage.
Currently, that part of the provisioning journey is very fragile and it is easy to introduce regressions.
Describe the solution you'd like
We should :
Describe alternatives you've considered
Additional context