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
handle requeues after setting Synced condition (#73)
Issue: aws-controllers-k8s/community#1186
Description of changes:
* Call `handleRequeues` method after setting the `ACK.ResourceSynced` condition
* Use `AWSResourceManager.IsSynced` method to determine the `ACK.ResourceSynced` condition
* Only set `ACK.ResourceSynced` condition inside `ensureConditions` function when the condition is originally missing
* Update existing unit-tests to include `rm.IsSynced()` call and Add a new unit-test when `rm.IsSynced` returns false
------
* Also tested locally using Sagemaker controller, whose e2e tests verify that SyncedCondition is properly set in success and failure scenarios. This ensures there is no breakage in existing functionality.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
0 commit comments