generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 271
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Currently inside reconciler.go, the sequence of operations during resource creation is
- Resolve resource references
- Perform AWSResourceManager.ReadOne operation
- NotFound Error returned by ReadOne call
- Call
setResourceManagedi.e. Add finalizer to the resource- Perform AWSResourceManager.Create call.
The resolved references are important for building ReadOne and Create requests and the problem with above sequence is that the kc.Patch call from setResourceManaged(step 4) method restores the desired Spec from etcd and the resolved references(step 1) get reset.
The solution should make sure that resolved references are present in desired spec while performing AWSResourceManager.Create call
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.