mirror of https://github.com/crossplane/docs.git
Merge pull request #947 from lsviben/update-v2-preview-with-v2-xrd
update v2 preview with v2 XRD
This commit is contained in:
commit
431e87a035
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue