github.com/giantswarm/apiextensions/v6@v6.6.0/helm/crds-common/templates/release.giantswarm.io_releases.yaml (about)

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