Merge pull request #947 from lsviben/update-v2-preview-with-v2-xrd

update v2 preview with v2 XRD
This commit is contained in:
Hasan Turken 2025-07-22 12:10:45 +03:00 committed by GitHub
commit 431e87a035
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ Create this _composite resource definition_ (XRD) to define the schema of the
new `App` composite resource (XR).
```yaml
apiVersion: apiextensions.crossplane.io/v2alpha1
apiVersion: apiextensions.crossplane.io/v2
kind: CompositeResourceDefinition
metadata:
name: apps.example.crossplane.io

View File

@ -89,10 +89,10 @@ which are just "Crossplane stuff" they can ignore.
{{</hint>}}
Composite resource definitions (XRDs) now have a `scope` field. The `scope`
field defaults to `Namespaced` in the new v2alpha1 version of the XRD API.
field defaults to `Namespaced` in the new v2 version of the XRD API.
```yaml
apiVersion: apiextensions.crossplane.io/v2alpha1
apiVersion: apiextensions.crossplane.io/v2
kind: CompositeResourceDefinition
metadata:
name: apps.example.crossplane.io