source-controller/internal
Sunny ca0f0ffb8d Handle delete before adding finalizer
In Reconcile() methods, move the object deletion above add finalizer.
Finalizers can't be set when an object is being deleted.

Introduce a cacheless client in suite_test to use for testing this
change. It ensures that the Reconcile() call always operates on the
latest version of the object which has the deletion timestamp and
existing finalizer.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-07-31 15:32:07 +05:30
..
cache Build with Go 1.19 2022-09-28 15:35:26 +03:00
controller Handle delete before adding finalizer 2023-07-31 15:32:07 +05:30
digest digest: register SHA1 digest algorithm 2023-02-14 12:48:36 +01:00
error Introduce Generic error and error Config 2022-05-20 19:52:03 +05:30
features gitrepo: remove `OptimizedGitClones` as a feature gate 2023-06-21 16:48:18 +05:30
fs test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
helm helm: add support for specifying TLS auth via `.spec.certSecretRef` 2023-07-31 13:29:17 +05:30
index controllers: use digest for Bucket revision 2023-02-14 12:48:36 +01:00
mock mock/gcs: strip /storage/v1 URI element 2022-03-16 11:16:47 +01:00
object Promote GitRepository API to v1 2023-03-23 23:17:23 +02:00
oci helm: add support for specifying TLS auth via `.spec.certSecretRef` 2023-07-31 13:29:17 +05:30
predicates [RFC 0002] Flux OCI support for Helm (#690) 2022-05-19 14:50:16 +02:00
reconcile Update controller-runtime (v0.15) and K8s (v1.27) 2023-05-24 09:05:42 +02:00
transport internal/helm/getter: remove transport reuse test 2022-06-14 09:25:52 +01:00
util Refactor internal OCI package 2022-09-20 18:34:02 +03:00