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

     1  apiVersion: apiextensions.k8s.io/v1beta1
     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    additionalPrinterColumns:
    10    - JSONPath: .spec.components[?(@.name=="kubernetes")].version
    11      description: Version of the kubernetes component in this release
    12      name: Kubernetes version
    13      type: string
    14    - JSONPath: .spec.state
    15      description: State of the release
    16      name: State
    17      type: string
    18    - JSONPath: .spec.date
    19      description: Time since release creation
    20      name: Age
    21      type: date
    22    - JSONPath: .metadata.annotations['giantswarm\.io/release-notes']
    23      description: Release notes for this release
    24      name: Release notes
    25      priority: 1
    26      type: string
    27    group: release.giantswarm.io
    28    names:
    29      categories:
    30      - common
    31      - giantswarm
    32      kind: Release
    33      listKind: ReleaseList
    34      plural: releases
    35      singular: release
    36    scope: Cluster
    37    subresources:
    38      status: {}
    39    validation:
    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 tenant
   117                  cluster using this release ends. This may not be set at the time of
   118                  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 a
   137                  cluster.
   138                type: boolean
   139              ready:
   140                description: Ready indicates if all components of the release have been
   141                  deployed.
   142                type: boolean
   143            required:
   144            - inUse
   145            - ready
   146            type: object
   147        required:
   148        - metadata
   149        - spec
   150        type: object
   151    version: v1alpha1
   152    versions:
   153    - name: v1alpha1
   154      served: true
   155      storage: true
   156  status:
   157    acceptedNames:
   158      kind: ""
   159      plural: ""
   160    conditions: []
   161    storedVersions: []