source-controller/controllers
Sunny 15cdd85805 controllers: Allow deletion of suspended objects
Reorders the object suspended check in all the reconcilers to allow
deletion of objects when they are suspended. Objects used to get stuck
on delete because the finalizers were not getting removed due to the
suspended state.

Adds a generic test for all the reconcilers to check if a suspended
source object can be delete.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-10-20 17:22:11 +05:30
..
testdata Add tests for reconcile delete 2022-08-02 13:11:08 +03: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: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
bucket_controller_fetch_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
bucket_controller_test.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
common_test.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
gitrepository_controller.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
gitrepository_controller_test.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
helmchart_controller.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
helmchart_controller_test.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
helmrepository_controller.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
helmrepository_controller_oci.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
helmrepository_controller_oci_test.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
helmrepository_controller_test.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
ocirepository_controller.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
ocirepository_controller_test.go controllers: Allow deletion of suspended objects 2022-10-20 17:22:11 +05:30
source_predicate.go Switch to v1beta2 API package 2022-02-23 12:35:25 +01:00
storage.go Use sourceignore from fluxcd/pkg 2022-08-17 18:04:48 +03:00
storage_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
suite_test.go secretRef take precedence over provider 2022-09-09 14:43:35 +02:00