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

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