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

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    annotations:
     5      controller-gen.kubebuilder.io/version: v0.2.4
     6    creationTimestamp: null
     7    name: releases.release.giantswarm.io
     8  spec:
     9    group: release.giantswarm.io
    10    names:
    11      categories:
    12      - common
    13      - giantswarm
    14      kind: Release
    15      listKind: ReleaseList
    16      plural: releases
    17      singular: release
    18    scope: Cluster
    19    versions:
    20    - additionalPrinterColumns:
    21      - description: Version of the kubernetes component in this release
    22        jsonPath: .spec.components[?(@.name=="kubernetes")].version
    23        name: Kubernetes version
    24        type: string
    25      - description: State of the release
    26        jsonPath: .spec.state
    27        name: State
    28        type: string
    29      - description: Time since release creation
    30        jsonPath: .spec.date
    31        name: Age
    32        type: date
    33      - description: Release notes for this release
    34        jsonPath: .metadata.annotations['giantswarm\.io/release-notes']
    35        name: Release notes
    36        priority: 1
    37        type: string
    38      name: v1alpha1
    39      schema:
    40        openAPIV3Schema:
    41          description: Release is a Kubernetes resource (CR) representing a Giant Swarm
    42            tenant cluster release.
    43          properties:
    44            apiVersion:
    45              description: 'APIVersion defines the versioned schema of this representation
    46                of an object. Servers should convert recognized schemas to the latest
    47                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    48              type: string
    49            kind:
    50              description: 'Kind is a string value representing the REST resource this
    51                object represents. Servers may infer this from the endpoint the client
    52                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    53              type: string
    54            metadata:
    55              properties:
    56                name:
    57                  pattern: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-[\.0-9a-zA-Z]*)?$
    58                  type: string
    59              type: object
    60            spec:
    61              properties:
    62                apps:
    63                  description: Apps describes apps used in this release.
    64                  items:
    65                    properties:
    66                      componentVersion:
    67                        description: Version of the upstream component used in the app.
    68                        type: string
    69                      name:
    70                        description: Name of the app.
    71                        type: string
    72                      version:
    73                        description: Version of the app.
    74                        pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
    75                        type: string
    76                    required:
    77                    - name
    78                    - version
    79                    type: object
    80                  type: array
    81                components:
    82                  description: Components describes components used in this release.
    83                  items:
    84                    properties:
    85                      catalog:
    86                        default: control-plane-catalog
    87                        description: Catalog specifies the name of the app catalog that
    88                          this component belongs to.
    89                        type: string
    90                      name:
    91                        description: Name of the component.
    92                        type: string
    93                      reference:
    94                        description: Reference is the component's version in the catalog
    95                          (e.g. 1.2.3 or 1.2.3-abc8675309).
    96                        type: string
    97                      releaseOperatorDeploy:
    98                        description: ReleaseOperatorDeploy informs the release-operator
    99                          that it should deploy the component.
   100                        type: boolean
   101                      version:
   102                        description: Version of the component.
   103                        pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
   104                        type: string
   105                    required:
   106                    - name
   107                    - version
   108                    type: object
   109                  minItems: 1
   110                  type: array
   111                date:
   112                  description: Date that the release became active.
   113                  format: date-time
   114                  type: string
   115                endOfLifeDate:
   116                  description: EndOfLifeDate is the date and time when support for a
   117                    tenant cluster using this release ends. This may not be set at the
   118                    time of release creation and can be specififed later.
   119                  format: date-time
   120                  nullable: true
   121                  type: string
   122                state:
   123                  description: 'State indicates the availability of the release: deprecated,
   124                    active, or wip.'
   125                  pattern: ^(active|deprecated|wip)$
   126                  type: string
   127              required:
   128              - apps
   129              - components
   130              - date
   131              - state
   132              type: object
   133            status:
   134              properties:
   135                inUse:
   136                  description: InUse indicates whether a release is actually used by
   137                    a cluster.
   138                  type: boolean
   139                ready:
   140                  description: Ready indicates if all components of the release have
   141                    been deployed.
   142                  type: boolean
   143              required:
   144              - inUse
   145              - ready
   146              type: object
   147          required:
   148          - metadata
   149          - spec
   150          type: object
   151      served: true
   152      storage: true
   153      subresources:
   154        status: {}
   155  status:
   156    acceptedNames:
   157      kind: ""
   158      plural: ""
   159    conditions: []
   160    storedVersions: []