名前空間スコープの XR の Composition でクラスタースコープのリソースを拒否
以前は、Function がクラスタースコープのコンポーズドリソースに metadata.namespace を設定してもスコープチェックを通過し、適用時に API クライアントが名前空間を通知なく破棄していました。
原文を表示
* **Namespaced XRs can no longer compose cluster scoped resources:** A function could make a namespaced XR compose a cluster scoped resource by setting `metadata.namespace` on it, because the scope check only ran on composed resources without a namespace. Crossplane now checks the scope of every resource a namespaced XR composes, based on its kind. Backported in #8053, originally fixed in #8050. * [release-2.4] fix(composite): check scope of every resource composed by a namespaced XR by @lsviben in https://github.com/crossplane/crossplane/pull/8053github.com/crossplane/crossplane/releases/tag/v2.4.4