github.com/oam-dev/kubevela@v1.9.11/e2e/addon/mock/testdata/fluxcd/resources/crds/helm-chart.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    annotations:
     5      controller-gen.kubebuilder.io/version: v0.5.0
     6    labels:
     7      app.kubernetes.io/instance: flux-system
     8    name: helmcharts.source.toolkit.fluxcd.io
     9  spec:
    10    group: source.toolkit.fluxcd.io
    11    names:
    12      kind: HelmChart
    13      listKind: HelmChartList
    14      plural: helmcharts
    15      shortNames:
    16        - hc
    17      singular: helmchart
    18    scope: Namespaced
    19    versions:
    20      - additionalPrinterColumns:
    21          - jsonPath: .spec.chart
    22            name: Chart
    23            type: string
    24          - jsonPath: .spec.version
    25            name: Version
    26            type: string
    27          - jsonPath: .spec.sourceRef.kind
    28            name: Source Kind
    29            type: string
    30          - jsonPath: .spec.sourceRef.name
    31            name: Source Name
    32            type: string
    33          - jsonPath: .status.conditions[?(@.type=="Ready")].status
    34            name: Ready
    35            type: string
    36          - jsonPath: .status.conditions[?(@.type=="Ready")].message
    37            name: Status
    38            type: string
    39          - jsonPath: .metadata.creationTimestamp
    40            name: Age
    41            type: date
    42        name: v1beta1
    43        schema:
    44          openAPIV3Schema:
    45            description: HelmChart is the Schema for the helmcharts API
    46            properties:
    47              apiVersion:
    48                description: 'APIVersion defines the versioned schema of this representation
    49                of an object. Servers should convert recognized schemas to the latest
    50                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    51                type: string
    52              kind:
    53                description: 'Kind is a string value representing the REST resource this
    54                object represents. Servers may infer this from the endpoint the client
    55                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    56                type: string
    57              metadata:
    58                type: object
    59              spec:
    60                description: HelmChartSpec defines the desired state of a Helm chart.
    61                properties:
    62                  chart:
    63                    description: The name or path the Helm chart is available at in the
    64                      SourceRef.
    65                    type: string
    66                  interval:
    67                    description: The interval at which to check the Source for updates.
    68                    type: string
    69                  sourceRef:
    70                    description: The reference to the Source the chart is available at.
    71                    properties:
    72                      apiVersion:
    73                        description: APIVersion of the referent.
    74                        type: string
    75                      kind:
    76                        description: Kind of the referent, valid values are ('HelmRepository',
    77                          'GitRepository', 'Bucket').
    78                        enum:
    79                          - HelmRepository
    80                          - GitRepository
    81                          - Bucket
    82                        type: string
    83                      name:
    84                        description: Name of the referent.
    85                        type: string
    86                    required:
    87                      - kind
    88                      - name
    89                    type: object
    90                  suspend:
    91                    description: This flag tells the controller to suspend the reconciliation
    92                      of this source.
    93                    type: boolean
    94                  valuesFile:
    95                    description: Alternative values file to use as the default chart values,
    96                      expected to be a relative path in the SourceRef. Deprecated in favor
    97                      of ValuesFiles, for backwards compatibility the file defined here
    98                      is merged before the ValuesFiles items. Ignored when omitted.
    99                    type: string
   100                  valuesFiles:
   101                    description: Alternative list of values files to use as the chart
   102                      values (values.yaml is not included by default), expected to be
   103                      a relative path in the SourceRef. Values files are merged in the
   104                      order of this list with the last file overriding the first. Ignored
   105                      when omitted.
   106                    items:
   107                      type: string
   108                    type: array
   109                  version:
   110                    default: '*'
   111                    description: The chart version semver expression, ignored for charts
   112                      from GitRepository and Bucket sources. Defaults to latest when omitted.
   113                    type: string
   114                required:
   115                  - chart
   116                  - interval
   117                  - sourceRef
   118                type: object
   119              status:
   120                description: HelmChartStatus defines the observed state of the HelmChart.
   121                properties:
   122                  artifact:
   123                    description: Artifact represents the output of the last successful
   124                      chart sync.
   125                    properties:
   126                      checksum:
   127                        description: Checksum is the SHA1 checksum of the artifact.
   128                        type: string
   129                      lastUpdateTime:
   130                        description: LastUpdateTime is the timestamp corresponding to
   131                          the last update of this artifact.
   132                        format: date-time
   133                        type: string
   134                      path:
   135                        description: Path is the relative file path of this artifact.
   136                        type: string
   137                      revision:
   138                        description: Revision is a human readable identifier traceable
   139                          in the origin source system. It can be a Git commit SHA, Git
   140                          tag, a Helm index timestamp, a Helm chart version, etc.
   141                        type: string
   142                      url:
   143                        description: URL is the HTTP address of this artifact.
   144                        type: string
   145                    required:
   146                      - path
   147                      - url
   148                    type: object
   149                  conditions:
   150                    description: Conditions holds the conditions for the HelmChart.
   151                    items:
   152                      description: "Condition contains details for one aspect of the current
   153                      state of this API Resource. --- This struct is intended for direct
   154                      use as an array at the field path .status.conditions.  For example,
   155                      type FooStatus struct{     // Represents the observations of a
   156                      foo's current state.     // Known .status.conditions.type are:
   157                      \"Available\", \"Progressing\", and \"Degraded\"     // +patchMergeKey=type
   158                      \    // +patchStrategy=merge     // +listType=map     // +listMapKey=type
   159                      \    Conditions []metav1.Condition `json:\"conditions,omitempty\"
   160                      patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
   161                      \n     // other fields }"
   162                      properties:
   163                        lastTransitionTime:
   164                          description: lastTransitionTime is the last time the condition
   165                            transitioned from one status to another. This should be when
   166                            the underlying condition changed.  If that is not known, then
   167                            using the time when the API field changed is acceptable.
   168                          format: date-time
   169                          type: string
   170                        message:
   171                          description: message is a human readable message indicating
   172                            details about the transition. This may be an empty string.
   173                          maxLength: 32768
   174                          type: string
   175                        observedGeneration:
   176                          description: observedGeneration represents the .metadata.generation
   177                            that the condition was set based upon. For instance, if .metadata.generation
   178                            is currently 12, but the .status.conditions[x].observedGeneration
   179                            is 9, the condition is out of date with respect to the current
   180                            state of the instance.
   181                          format: int64
   182                          minimum: 0
   183                          type: integer
   184                        reason:
   185                          description: reason contains a programmatic identifier indicating
   186                            the reason for the condition's last transition. Producers
   187                            of specific condition types may define expected values and
   188                            meanings for this field, and whether the values are considered
   189                            a guaranteed API. The value should be a CamelCase string.
   190                            This field may not be empty.
   191                          maxLength: 1024
   192                          minLength: 1
   193                          pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   194                          type: string
   195                        status:
   196                          description: status of the condition, one of True, False, Unknown.
   197                          enum:
   198                            - "True"
   199                            - "False"
   200                            - Unknown
   201                          type: string
   202                        type:
   203                          description: type of condition in CamelCase or in foo.example.com/CamelCase.
   204                            --- Many .condition.type values are consistent across resources
   205                            like Available, but because arbitrary conditions can be useful
   206                            (see .node.status.conditions), the ability to deconflict is
   207                            important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   208                          maxLength: 316
   209                          pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
   210                          type: string
   211                      required:
   212                        - lastTransitionTime
   213                        - message
   214                        - reason
   215                        - status
   216                        - type
   217                      type: object
   218                    type: array
   219                  lastHandledReconcileAt:
   220                    description: LastHandledReconcileAt holds the value of the most recent
   221                      reconcile request value, so a change can be detected.
   222                    type: string
   223                  observedGeneration:
   224                    description: ObservedGeneration is the last observed generation.
   225                    format: int64
   226                    type: integer
   227                  url:
   228                    description: URL is the download link for the last chart pulled.
   229                    type: string
   230                type: object
   231            type: object
   232        served: true
   233        storage: true
   234        subresources:
   235          status: {}