Remove webhook direct dependency on RKE #45431
Labels
kind/tech-debt
Formerly issues labeled as ci-improvements, tasks, flaky tests, and post-release.
priority/0
team/frameworks
the team that is responsible for frameworks, projects, webhook, and other various areas
Milestone
Currently, the Rancher webhook has a direct dependency on RKE. This can result in issues if the RKE version isn't synchronized with the Rancher version, as seen in #44980. This seems to be only added for usage in a single test.
To avoid extra process, we should re-write this test to not use this import. At minimum, we could write the test using a raw string (representing a JSON object) and marshal it into the cluster type. Note that this will still be an indirect import, even after this change.
The text was updated successfully, but these errors were encountered: