-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure credentials secret is created on async bind
* When the bind operation state is `succeeded`, requeue the reconcile request. Thus we ensure that the controller would try to `bind` again, and as the bind operation has already succeeded, it would get a response containing the binding credentials * When checking the state of the last operation in asynchronous provision/bind, instance/binding controllers consider the operation to have completed when its state is either `succeeded`, or `failed`. Anything else is considered as if the operation is ongoing. Thus we protect ourselves from brokers returning nonsense operation state * The test for the instance controller is refactored so that the synchronous provisioning is the "default" case and there is a dedicated context for asynchronous provisioning. This aligns test style of instance/binding controller tests
- Loading branch information
1 parent
e47d419
commit 6fce46e
Showing
5 changed files
with
160 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.