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

     1  apiVersion: apiextensions.k8s.io/v1beta1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    name: memcacheds.cache.example.com
     5  spec:
     6    group: cache.example.com
     7    names:
     8      kind: Memcached
     9      listKind: MemcachedList
    10      plural: memcacheds
    11      singular: memcached
    12    scope: Namespaced
    13    validation:
    14      openAPIV3Schema:
    15        properties:
    16          apiVersion:
    17            type: string
    18          kind:
    19            type: string
    20          metadata:
    21            type: object
    22          spec:
    23            properties:
    24              size:
    25                format: int32
    26                type: integer
    27              test:
    28                type: string
    29            required:
    30            - size
    31            type: object
    32          status:
    33            properties:
    34              nodes:
    35                items:
    36                  type: string
    37                type: array
    38            required:
    39            - nodes
    40            type: object
    41    version: v1alpha1
    42    subresources:
    43      status: {}