source-controller/controllers
Sanskar Jaiswal f8c27a85dd Garbage collect with provided retention options.
Introduce two new flags to configure the ttl of an artifact and the max
no. of files to retain for an artifact. Modify the gc process to
consider the options and use timeouts to prevent the controller from
hanging.
This helps in situations when the SC has already garbage collected the
current artifact but the advertised artifact url is still the same,
which leads to the server returning a 404.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-04-07 18:43:55 +05:30
..
testdata test: source ignore for subdirectories in a repo 2022-03-23 17:17:06 +05:30
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 Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30
bucket_controller_fetch_test.go Introduce BucketProvider interface 2022-03-01 10:15:10 +01:00
bucket_controller_test.go Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30
gitrepository_controller.go Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30
gitrepository_controller_test.go Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30
helmchart_controller.go Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30
helmchart_controller_test.go Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30
helmrepository_controller.go Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30
helmrepository_controller_test.go Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30
source_predicate.go Switch to v1beta2 API package 2022-02-23 12:35:25 +01:00
storage.go Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30
storage_test.go Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30
suite_test.go Garbage collect with provided retention options. 2022-04-07 18:43:55 +05:30