Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handlers in this controller fire every Role or RoleBinding change, which
can be very often (>1.5 million times in a few hours on 2.7.5 with 1000 RestrictedAdmin users and 3 downstream clusters). This code existed to correct wrong onerRefs created before Rancher 2.4.7: https://github.com/rancher/rancher/pull/29184/files#diff-aba184f9956e344293abcd7df23de73e81e0ede82a219e15a3c426afb171cc9dR1-R12 Given that support statements require: 1) upgrading to the latest patch version before a minor version: https://www.suse.com/support/kb/doc/?id=000020727 "All upgrades should go from the latest to the latest. For instance, if you are on 2.5.3, you should go to 2.5.latest and then to 2.6.latest. The stop on 2.5.latest should be about a week to ensure you can catch any issues before moving forward." 2) not skipping minor versions: https://www.suse.com/support/kb/doc/?id=000020061 "Avoid skipping minor versions when upgrading. For example: when upgrading from v2.4.x -> v2.6.x we encourage upgrading v2.4.x -> v2.5.x -> v2.6.x" this patch assumes no user will upgrade from 2.4.6 or earlier to 2.7.7 or later without any version in between.
- Loading branch information