生成された ClusterRoles の古い権限付与を削除
セキュリティかどうか不明ProviderRevision または XRD が所有する CRD に基づいて生成された provider、composite、claim の ClusterRoles を使用する構成以前は、対象条件を満たさなくなったリソースの権限付与が、以前の調整処理後も残ることがありました。現在は、調整のたびにルールを再計算し、その権限付与を削除します。承認済みの権限リクエストによる権限付与は、所有する 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