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

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.7.0
     8    creationTimestamp: null
     9    name: charts.application.giantswarm.io
    10  spec:
    11    group: application.giantswarm.io
    12    names:
    13      categories:
    14      - common
    15      - giantswarm
    16      kind: Chart
    17      listKind: ChartList
    18      plural: charts
    19      singular: chart
    20    scope: Namespaced
    21    versions:
    22    - additionalPrinterColumns:
    23      - description: Version of the app
    24        jsonPath: .spec.version
    25        name: Version
    26        type: string
    27      - description: Time since last deployment
    28        jsonPath: .status.release.lastDeployed
    29        name: Last Deployed
    30        type: date
    31      - description: Deployment status of the app
    32        jsonPath: .status.release.status
    33        name: Status
    34        type: string
    35      name: v1alpha1
    36      schema:
    37        openAPIV3Schema:
    38          description: Chart represents a Helm chart to be deployed as a Helm release.
    39            It is reconciled by chart-operator.
    40          properties:
    41            apiVersion:
    42              description: 'APIVersion defines the versioned schema of this representation
    43                of an object. Servers should convert recognized schemas to the latest
    44                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    45              type: string
    46            kind:
    47              description: 'Kind is a string value representing the REST resource this
    48                object represents. Servers may infer this from the endpoint the client
    49                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    50              type: string
    51            metadata:
    52              type: object
    53            spec:
    54              properties:
    55                config:
    56                  description: Config is the config to be applied when the chart is
    57                    deployed.
    58                  nullable: true
    59                  properties:
    60                    configMap:
    61                      description: ConfigMap references a config map containing values
    62                        that should be applied to the chart.
    63                      nullable: true
    64                      properties:
    65                        name:
    66                          description: Name is the name of the config map containing
    67                            chart values to apply, e.g. prometheus-chart-values.
    68                          type: string
    69                        namespace:
    70                          description: Namespace is the namespace of the values config
    71                            map, e.g. monitoring.
    72                          type: string
    73                        resourceVersion:
    74                          description: ResourceVersion is the Kubernetes resource version
    75                            of the configmap. Used to detect if the configmap has changed,
    76                            e.g. 12345.
    77                          type: string
    78                      required:
    79                      - name
    80                      - namespace
    81                      - resourceVersion
    82                      type: object
    83                    secret:
    84                      description: Secret references a secret containing secret values
    85                        that should be applied to the chart.
    86                      nullable: true
    87                      properties:
    88                        name:
    89                          description: Name is the name of the secret containing chart
    90                            values to apply, e.g. prometheus-chart-secret.
    91                          type: string
    92                        namespace:
    93                          description: Namespace is the namespace of the secret, e.g.
    94                            kube-system.
    95                          type: string
    96                        resourceVersion:
    97                          description: ResourceVersion is the Kubernetes resource version
    98                            of the secret. Used to detect if the secret has changed,
    99                            e.g. 12345.
   100                          type: string
   101                      required:
   102                      - name
   103                      - namespace
   104                      - resourceVersion
   105                      type: object
   106                  type: object
   107                install:
   108                  description: Install is the config used to deploy the app and is passed
   109                    to Helm.
   110                  nullable: true
   111                  properties:
   112                    skipCRDs:
   113                      description: 'SkipCRDs when true decides that CRDs which are supplied
   114                        with the chart are not installed. Default: false.'
   115                      nullable: true
   116                      type: boolean
   117                    timeout:
   118                      description: Timeout for the Helm install. When not set the default
   119                        timeout of 5 minutes is being enforced.
   120                      pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
   121                      type: string
   122                  type: object
   123                name:
   124                  description: Name is the name of the Helm chart to be deployed. e.g.
   125                    kubernetes-prometheus
   126                  type: string
   127                namespace:
   128                  description: Namespace is the namespace where the chart should be
   129                    deployed. e.g. monitoring
   130                  type: string
   131                namespaceConfig:
   132                  description: NamespaceConfig is the namespace config to be applied
   133                    to the target namespace when the chart is deployed.
   134                  nullable: true
   135                  properties:
   136                    annotations:
   137                      additionalProperties:
   138                        type: string
   139                      description: Annotations is a string map of annotations to apply
   140                        to the target namespace.
   141                      nullable: true
   142                      type: object
   143                    labels:
   144                      additionalProperties:
   145                        type: string
   146                      description: Labels is a string map of labels to apply to the
   147                        target namespace.
   148                      nullable: true
   149                      type: object
   150                  type: object
   151                rollback:
   152                  description: Rollback is the config used to rollback the app and is
   153                    passed to Helm.
   154                  nullable: true
   155                  properties:
   156                    timeout:
   157                      description: Timeout for the Helm rollback. When not set the default
   158                        timeout of 5 minutes is being enforced.
   159                      pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
   160                      type: string
   161                  type: object
   162                tarballURL:
   163                  description: TarballURL is the URL for the Helm chart tarball to be
   164                    deployed. e.g. https://example.com/path/to/prom-1-0-0.tgz
   165                  type: string
   166                uninstall:
   167                  description: Uninstall is the config used to uninstall the app and
   168                    is passed to Helm.
   169                  nullable: true
   170                  properties:
   171                    timeout:
   172                      description: Timeout for the Helm uninstall. When not set the
   173                        default timeout of 5 minutes is being enforced.
   174                      pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
   175                      type: string
   176                  type: object
   177                upgrade:
   178                  description: Upgrade is the config used to upgrade the app and is
   179                    passed to Helm.
   180                  nullable: true
   181                  properties:
   182                    timeout:
   183                      description: Timeout for the Helm upgrade. When not set the default
   184                        timeout of 5 minutes is being enforced.
   185                      pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
   186                      type: string
   187                  type: object
   188                version:
   189                  description: Version is the version of the chart that should be deployed.
   190                    e.g. 1.0.0
   191                  type: string
   192              required:
   193              - name
   194              - namespace
   195              - tarballURL
   196              - version
   197              type: object
   198            status:
   199              properties:
   200                appVersion:
   201                  description: AppVersion is the value of the AppVersion field in the
   202                    Chart.yaml of the deployed chart. This is an optional field with
   203                    the version of the component being deployed. e.g. 0.21.0. https://helm.sh/docs/topics/charts/#the-chartyaml-file
   204                  type: string
   205                reason:
   206                  description: Reason is the description of the last status of helm
   207                    release when the chart is not installed successfully, e.g. deploy
   208                    resource already exists.
   209                  type: string
   210                release:
   211                  description: Release is the status of the Helm release for the deployed
   212                    chart.
   213                  properties:
   214                    lastDeployed:
   215                      description: LastDeployed is the time when the deployed chart
   216                        was last deployed.
   217                      format: date-time
   218                      nullable: true
   219                      type: string
   220                    revision:
   221                      description: Revision is the revision number for this deployed
   222                        chart.
   223                      nullable: true
   224                      type: integer
   225                    status:
   226                      description: Status is the status of the deployed chart, e.g.
   227                        DEPLOYED.
   228                      type: string
   229                  required:
   230                  - status
   231                  type: object
   232                version:
   233                  description: Version is the value of the Version field in the Chart.yaml
   234                    of the deployed chart. e.g. 1.0.0.
   235                  type: string
   236              required:
   237              - appVersion
   238              - release
   239              - version
   240              type: object
   241          required:
   242          - metadata
   243          - spec
   244          type: object
   245      served: true
   246      storage: true
   247      subresources:
   248        status: {}
   249  status:
   250    acceptedNames:
   251      kind: ""
   252      plural: ""
   253    conditions: []
   254    storedVersions: []