github.com/crossplane/upjet@v1.3.0/pkg/migration/testdata/plan/xrd.yaml (about)

     1  # SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
     2  #
     3  # SPDX-License-Identifier: Apache-2.0
     4  
     5  apiVersion: apiextensions.crossplane.io/v1
     6  kind: CompositeResourceDefinition
     7  metadata:
     8    name: xmyresources.test.com
     9  spec:
    10    claimNames:
    11      kind: MyResource
    12      plural: myresources
    13    group: test.com
    14    names:
    15      kind: XMyResource
    16      plural: xmyresources
    17    versions:
    18      - name: v1alpha1
    19        referenceable: true
    20        schema:
    21          openAPIV3Schema:
    22            properties:
    23              spec:
    24                properties:
    25                  parameters:
    26                    properties:
    27                      tagValue:
    28                        type: string
    29                      region:
    30                        type: string
    31                    required:
    32                      - tagValue
    33                      - region
    34                    type: object
    35                required:
    36                  - parameters
    37                type: object
    38            type: object
    39        served: true