You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default requeue the resource with 10 hour delay (#97)
Issue #, if available: aws-controllers-k8s/community#1355
Description of changes:
* implement ReSync using `requeue.NeededAfter` instead of upstream controlle-runime's `SyncPeriod`
* ACK controllers do not use cached go-client for reading objects from APIServer, hence upstream controller-runime ReSync was not working. Upstream controller-runtime ReSync only works for cached objects.
* As part of this change, whenever the `RequeueOnSuccess` duration for an ACK resource is 0 , requeue it with a 10 hour delay to trigger ReSync.
* I did not change the default value of `RequeueOnSuccessSeconds` from 0 to 10 hours because RequeueOnSuccessSeconds = 0 still means resource will not be requeued again to the developers. This 10 hour ReSync is an ACK runtime behavior and hence i only made change in ACK runtime. There will no change needed in existing ACK controllers.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
0 commit comments