Add lifecycle hooks by scothis · Pull Request #327 · servicebinding/runtime
requested a review
from a team
scothis
marked this pull request as ready for review
The hooks allow defining a custom Resolver or Projector as well as interacting with the ServiceBinding and workload resources before before and after projection. Defining no hooks is equivalent to the current RI behavior. The controller operates on a single ServiceBinding and zero-to-many workloads in a single request, while the webhook operates on a single workload with zero-to-many ServiceBindings. Because of this mismatch, we split out interactions with the ServiceBinding and workload resources into independent hooks. Signed-off-by: Scott Andrews <andrewssc@vmware.com>
This file contains hidden or 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