github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1/example.giantswarm.io_memcachedconfigs.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.2.4
     8    creationTimestamp: null
     9    name: memcachedconfigs.example.giantswarm.io
    10  spec:
    11    group: example.giantswarm.io
    12    names:
    13      categories:
    14      - example
    15      - giantswarm
    16      kind: MemcachedConfig
    17      listKind: MemcachedConfigList
    18      plural: memcachedconfigs
    19      singular: memcachedconfig
    20    scope: Namespaced
    21    versions:
    22    - name: v1alpha1
    23      schema:
    24        openAPIV3Schema:
    25          properties:
    26            apiVersion:
    27              description: 'APIVersion defines the versioned schema of this representation
    28                of an object. Servers should convert recognized schemas to the latest
    29                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    30              type: string
    31            kind:
    32              description: 'Kind is a string value representing the REST resource this
    33                object represents. Servers may infer this from the endpoint the client
    34                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    35              type: string
    36            metadata:
    37              type: object
    38            spec:
    39              properties:
    40                memory:
    41                  description: e.g. 3 Memory is how much RAM to use for item storage.
    42                    e.g. 4G
    43                  type: string
    44                replicas:
    45                  description: Replicas is the number of instances of Memcache.
    46                  type: integer
    47              required:
    48              - memory
    49              - replicas
    50              type: object
    51          required:
    52          - metadata
    53          - spec
    54          type: object
    55      served: true
    56      storage: true
    57  status:
    58    acceptedNames:
    59      kind: ""
    60      plural: ""
    61    conditions: []
    62    storedVersions: []