github.com/ironcore-dev/gardener-extension-provider-ironcore@v0.3.2-0.20240314231816-8336447fb9a0/example/20-crd-extensions.gardener.cloud_clusters.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.13.0
     7    name: clusters.extensions.gardener.cloud
     8  spec:
     9    group: extensions.gardener.cloud
    10    names:
    11      kind: Cluster
    12      listKind: ClusterList
    13      plural: clusters
    14      singular: cluster
    15    scope: Cluster
    16    versions:
    17    - additionalPrinterColumns:
    18      - description: creation timestamp
    19        jsonPath: .metadata.creationTimestamp
    20        name: Age
    21        type: date
    22      name: v1alpha1
    23      schema:
    24        openAPIV3Schema:
    25          description: Cluster is a specification for a Cluster resource.
    26          properties:
    27            apiVersion:
    28              description: 'APIVersion defines the versioned schema of this representation
    29                of an object. Servers should convert recognized schemas to the latest
    30                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    31              type: string
    32            kind:
    33              description: 'Kind is a string value representing the REST resource this
    34                object represents. Servers may infer this from the endpoint the client
    35                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    36              type: string
    37            metadata:
    38              type: object
    39            spec:
    40              description: ClusterSpec is the spec for a Cluster resource.
    41              properties:
    42                cloudProfile:
    43                  description: CloudProfile is a raw extension field that contains the
    44                    cloudprofile resource referenced by the shoot that has to be reconciled.
    45                  type: object
    46                  x-kubernetes-preserve-unknown-fields: true
    47                seed:
    48                  description: Seed is a raw extension field that contains the seed
    49                    resource referenced by the shoot that has to be reconciled.
    50                  type: object
    51                  x-kubernetes-preserve-unknown-fields: true
    52                shoot:
    53                  description: Shoot is a raw extension field that contains the shoot
    54                    resource that has to be reconciled.
    55                  type: object
    56                  x-kubernetes-preserve-unknown-fields: true
    57              required:
    58              - cloudProfile
    59              - seed
    60              - shoot
    61              type: object
    62          required:
    63          - spec
    64          type: object
    65      served: true
    66      storage: true
    67      subresources:
    68        status: {}