source-controller/controllers
Hidde Beydals 6ebe460676 controllers: store HelmChart Artifact with suffix
This adds a Unix suffix to the HelmChart Artifact filename, to ensure
it is unique for sequential builds triggered due to e.g. a controller
restart.

The result of this is that consumers who _think_ they are fetching an
Artifact with a certain checksum run into a 404 when attempting to
download a previously advertised but now unavailable file, instead of
running into a checksum validation error (due to non-repetitive Helm
builds).

For more information, see:
https://github.com/fluxcd/source-controller/issues/610

Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-03-11 22:07:04 +01:00
..
testdata Rewrite `GitRepositoryReconciler` to new standards 2022-02-23 12:35:30 +01:00
artifact.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-23 12:35:30 +01:00
artifact_matchers_test.go Implement Size field on archived artifacts 2022-02-28 16:01:34 +01:00
artifact_test.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-23 12:35:30 +01:00
bucket_controller.go controllers: finetune `eventLogf` (variant) docs 2022-03-11 10:04:14 +01:00
bucket_controller_fetch_test.go Introduce BucketProvider interface 2022-03-01 10:15:10 +01:00
bucket_controller_test.go Document Bucket API v1beta2 spec 2022-03-11 10:04:14 +01:00
gitrepository_controller.go controllers: finetune `eventLogf` (variant) docs 2022-03-11 10:04:14 +01:00
gitrepository_controller_test.go Document GitRepository API v1beta2 spec 2022-03-11 10:04:14 +01:00
helmchart_controller.go controllers: store HelmChart Artifact with suffix 2022-03-11 22:07:04 +01:00
helmchart_controller_test.go Document HelmChart API v1beta2 spec 2022-03-11 10:04:14 +01:00
helmrepository_controller.go controllers: finetune `eventLogf` (variant) docs 2022-03-11 10:04:14 +01:00
helmrepository_controller_test.go Document HelmRepository API v1beta2 spec 2022-03-11 10:04:14 +01:00
source_predicate.go Switch to v1beta2 API package 2022-02-23 12:35:25 +01:00
storage.go Implement Size field on archived artifacts 2022-02-28 16:01:34 +01:00
storage_test.go storage: Return details about the deleted items 2022-02-23 12:35:30 +01:00
suite_test.go Implement Size field on archived artifacts 2022-02-28 16:01:34 +01:00