source-controller/api/v1beta1
Dylan Arbour 5e6abae9e8 Add ReconcileStrategy to HelmChart
This commit adds a `ReconcileStrategy` field to the `HelmChart` resource, which
allows defining when a new chart should be packaged and/or published if it
originates from a `Bucket` or `GitRepository` resource.

The two available strategies are:

- `ChartVersion`: creates a new artifact when the version of the Helm chart as
  defined in the `Chart.yaml` from the Source is different from the current
  version.
- `Revision`: creates a new artifact when the revision of the Source is
  different from the current revision.

For the `Revision` strategy, the (checksum part of the) revision of the
artifact the chart originatesfrom is added as SemVer metadata.

A chart from a `GitRepository` with Artifact revision
`main/f0faacd5164a875ebdbd9e3fab778f49c5aadbbc` and a chart with e.g. SemVer
`0.1.0` will be published as `0.1.0+f0faacd5164a875ebdbd9e3fab778f49c5aadbbc`.

A chart from a `Bucket` with Artifact revision
`f0faacd5164a875ebdbd9e3fab778f49c5aadbbc` and a chart with e.g. SemVer `0.1.0`
will be published as `0.1.0+f0faacd5164a875ebdbd9e3fab778f49c5aadbbc`.

Signed-off-by: Dylan Arbour <arbourd@users.noreply.github.com>
2021-10-14 13:49:52 -05:00
..
artifact_types.go Various API doc corrections 2020-10-28 01:09:21 +01:00
bucket_types.go Service Account Key Authentication to GCP Provider 2021-09-16 09:49:56 -05:00
condition_types.go Change copyright to Flux authors 2020-10-27 17:54:22 +01:00
doc.go Change copyright to Flux authors 2020-10-27 17:54:22 +01:00
gitrepository_types.go Add include property to GitRepositories 2021-05-11 09:46:50 +02:00
groupversion_info.go Change copyright to Flux authors 2020-10-27 17:54:22 +01:00
helmchart_types.go Add ReconcileStrategy to HelmChart 2021-10-14 13:49:52 -05:00
helmrepository_types.go Update Helm to v3.6.1 2021-06-18 12:31:23 +02:00
source.go Alin HelmChart source indexer and watches 2021-01-18 17:08:25 +01:00
zz_generated.deepcopy.go Add include property to GitRepositories 2021-05-11 09:46:50 +02:00