생성된 ClusterRoles의 오래된 권한 부여 회수
보안 여부 불분명ProviderRevision 또는 XRD가 소유한 CRD를 기반으로 생성된 provider, composite 또는 claim ClusterRoles를 사용하는 구성이전에는 자격 요건을 더 이상 충족하지 않는 리소스가 이전 reconcile에서 부여된 권한을 계속 보유할 수 있었습니다. 이제 reconcile할 때마다 규칙을 다시 계산하고 해당 권한을 제거합니다. 승인된 permission-request 권한 부여는 소유된 CRD가 하나도 없더라도 provider 시스템 역할에 계속 유지됩니다.
원문 보기
* **Generated RBAC roles follow owned CRDs:** The RBAC manager now builds the rules in generated provider, composite, and claim `ClusterRoles` only from CRDs that exist in the cluster and are owned by the `ProviderRevision` or XRD. Rules are recomputed on every reconcile, so a resource that no longer qualifies loses its grants. Backported in #8068, originally fixed in #8054. * [Backport release-1.20] fix(rbac): derive generated roles from owned CRDs by @phisco in https://github.com/crossplane/crossplane/pull/8068github.com/crossplane/crossplane/releases/tag/v1.20.15