スコープチェックによる namespaced XR からのクラスタースコープリソースの拒否
以前は、function がコンポジションで構成されたクラスタースコープのリソースに metadata.namespace を設定することで、スコープチェックを回避できました。
原文を表示
* [release-2.3] fix(composite): check scope of every resource composed by a namespaced XR by @lsviben in https://github.com/crossplane/crossplane/pull/8052 * **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 #8052, originally fixed in #8050.github.com/crossplane/crossplane/releases/tag/v2.3.8