Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove legacy ModelController deployment on upgrade (#1591)
* Remove legacy ModelController deployment on upgrade When upgrading from version 2.16 to 2.17, the odh-model-controller fails to be provisioned due to the immutability of the deployment's label selectors. In RHOAI ≤ 2.16, the model controller was deployed independently by both kserve and modelmesh, leading to variations in label assignments depending on the deployment order. During a redeployment or upgrade, this error was ignored, and the model controller would eventually be reconciled by the appropriate component. However, in version 2.17, the model controller is now a defined dependency with its own fixed labels and selectors. This change causes issues during upgrades, as existing deployments cannot be modified accordingly. * Add comment * Fix linter findings
- Loading branch information