crossplane-runtime/pkg
Nic Cope 88ef9dcbb9 Don't rely on removal of the external-create-pending annotation
The retry logic we use to persist critical annotations makes it difficult to
delete an annotation without potentially also deleting annotations added by
another controller (e.g. the composition logic). This commit therefore changes
the way we detect whether we might have created an external resource but not
recorded the result. Previously we relied on the presence of the 'pending'
annotation to detect this state. Now we check whether the 'pending' annotation
is newer than any 'succeeded' or 'failed' annotation.

Signed-off-by: Nic Cope <negz@rk0n.org>
2021-09-07 22:35:21 +00:00
..
controller Update controller runtime to v0.8.0 2021-01-21 13:29:16 +01:00
event Add debug logging and events to all reconcilers 2020-01-26 19:24:49 -08:00
fieldpath add more test about periods 2020-10-09 19:38:33 +08:00
logging Update go mod and refs with crossplane org name 2020-02-18 18:17:32 -06:00
meta Don't rely on removal of the external-create-pending annotation 2021-09-07 22:35:21 +00:00
parser Add SkipEmpty FilterFn 2020-12-08 16:16:48 -06:00
password Move password generation into its own package 2020-01-31 16:41:25 -08:00
ratelimiter Update managed reconciler comments with backoff 2021-02-19 09:45:58 -06:00
reconciler Don't rely on removal of the external-create-pending annotation 2021-09-07 22:35:21 +00:00
reference reference pointer utility function comments 2021-03-01 16:29:20 -05:00
resource Merge pull request #240 from hasheddan/creds-flex 2021-02-01 16:19:09 -06:00
test Update controller runtime to v0.8.0 2021-01-21 13:29:16 +01:00