sigs.k8s.io/controller-runtime@v0.18.2/pkg/envtest/testdata/crdv1_updated/example_multiversion_crd1_one_more_version.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    name: drivers.crew.example.com
     5  spec:
     6    group: crew.example.com
     7    names:
     8      kind: Driver
     9      plural: drivers
    10    scope: Namespaced
    11    versions:
    12    - name: v1
    13      served: true
    14      storage: true
    15      schema:
    16        openAPIV3Schema:
    17          description: Driver is the Schema for the drivers API
    18          properties:
    19            apiVersion:
    20              description: 'APIVersion defines the versioned schema of this representation
    21                of an object. Servers should convert recognized schemas to the latest
    22                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    23              type: string
    24            kind:
    25              description: 'Kind is a string value representing the REST resource this
    26                object represents. Servers may infer this from the endpoint the client
    27                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    28              type: string
    29            spec:
    30              type: object
    31            status:
    32              type: object
    33          type: object
    34    - name: v2
    35      served: true
    36      storage: false
    37      schema:
    38        openAPIV3Schema:
    39          description: Driver is the Schema for the drivers API
    40          properties:
    41            apiVersion:
    42              description: 'APIVersion defines the versioned schema of this representation
    43                of an object. Servers should convert recognized schemas to the latest
    44                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    45              type: string
    46            kind:
    47              description: 'Kind is a string value representing the REST resource this
    48                object represents. Servers may infer this from the endpoint the client
    49                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    50              type: string
    51            spec:
    52              type: object
    53            status:
    54              type: object
    55          type: object
    56    - name: v3
    57      served: true
    58      storage: false
    59      schema:
    60        openAPIV3Schema:
    61          description: Driver is the Schema for the drivers API
    62          properties:
    63            apiVersion:
    64              description: 'APIVersion defines the versioned schema of this representation
    65                of an object. Servers should convert recognized schemas to the latest
    66                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    67              type: string
    68            kind:
    69              description: 'Kind is a string value representing the REST resource this
    70                object represents. Servers may infer this from the endpoint the client
    71                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    72              type: string
    73            spec:
    74              type: object
    75            status:
    76              type: object
    77          type: object
    78  status:
    79    acceptedNames:
    80      kind: ""
    81      plural: ""
    82    conditions: []
    83    storedVersions: []