github.com/tototoman/operator-sdk@v0.8.2/test/test-framework/deploy/crds/cache_v1alpha1_memcachedrs_crd.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1beta1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    name: memcachedrs.cache.example.com
     5  spec:
     6    group: cache.example.com
     7    names:
     8      kind: MemcachedRS
     9      listKind: MemcachedRSList
    10      plural: memcachedrs
    11      singular: memcachedrs
    12    scope: Namespaced
    13    subresources:
    14      status: {}
    15    validation:
    16      openAPIV3Schema:
    17        properties:
    18          apiVersion:
    19            description: 'APIVersion defines the versioned schema of this representation
    20              of an object. Servers should convert recognized schemas to the latest
    21              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    22            type: string
    23          kind:
    24            description: 'Kind is a string value representing the REST resource this
    25              object represents. Servers may infer this from the endpoint the client
    26              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    27            type: string
    28          metadata:
    29            type: object
    30          spec:
    31            properties:
    32              numNodes:
    33                format: int32
    34                type: integer
    35            required:
    36            - numNodes
    37            type: object
    38          status:
    39            properties:
    40              nodeList:
    41                items:
    42                  type: string
    43                type: array
    44              test:
    45                type: boolean
    46            required:
    47            - nodeList
    48            - test
    49            type: object
    50    version: v1alpha1
    51    versions:
    52    - name: v1alpha1
    53      served: true
    54      storage: true