update v2 preview with v2 XRD

Signed-off-by: lsviben <sviben.lovro@gmail.com>
This commit is contained in:
lsviben 2025-06-27 13:37:10 +02:00
parent 3ca6127a9b
commit 75f4241314
No known key found for this signature in database
GPG Key ID: A5AF2A562B992CCF
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