source-controller/api/v1beta2
Sunny f4aed8baf8
OCIRepoReconciler: no-op reconcile improvements
Introduce contentConfigChecksum in the OCIRepository status to store a
checksum of the values that affect the source artifact. It is used to
detect when to rebuild an artifact when the spec changes.

The considerations for this are similar to the GitRepository
reconciler no-op clone implementation. Both reconcileSource and
reconcileArtifact need to consider the source configuration change
when deciding if the artifact in the storage is up-to-date.

Adds tests for reconcileSource and reconcileArtifact for the noop
cases.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-09-29 09:48:27 +03:00
..
artifact_types.go Add the OCI metadata to the internal artifact 2022-08-02 13:07:07 +03:00
bucket_types.go api: add custom validation for v1.Duration types 2022-09-20 08:03:01 +00:00
condition_types.go Introduce Initial OCIRepository Source Verification 2022-09-20 14:07:10 +03:00
doc.go Introduce v1beta2 API package 2022-02-23 12:34:35 +01:00
gitrepository_types.go api: add custom validation for v1.Duration types 2022-09-20 08:03:01 +00:00
groupversion_info.go Introduce v1beta2 API package 2022-02-23 12:34:35 +01:00
helmchart_types.go api: add custom validation for v1.Duration types 2022-09-20 08:03:01 +00:00
helmrepository_types.go api: add custom validation for v1.Duration types 2022-09-20 08:03:01 +00:00
ocirepository_types.go OCIRepoReconciler: no-op reconcile improvements 2022-09-29 09:48:27 +03:00
source.go Document Bucket API v1beta2 spec 2022-03-11 10:04:14 +01:00
zz_generated.deepcopy.go Introduce Initial OCIRepository Source Verification 2022-09-20 14:07:10 +03:00