[BUG] More than one service binding to cloud-service-broker app causes app to crash #181
Labels
bug
Something isn't working
help wanted
The team has de-prioritized this and could use your help!
unscheduled
Description
We have been using spring cloud config to provide secrets to the cloud service broker (specifically the broker api username nad password that will also be registered with the cloud controller api). It appears that VCAP_SERVICES can come back with service instances in different orders but it appears that cloud-service-broker only attempts to resolve the first bound service instance instead of leveraging tags.
Expected Behavior
Allow more than just the database be bound to a application instance
Actual Behavior
Random crashes of the application with logs:
Possible Fix
Inspect the VCAP_SERVICES and look for service instances with the tag
"tags":["mysql"]
Steps to Reproduce
Context
Unable to store secrets that are used by the broker securely.
Your Environment
The text was updated successfully, but these errors were encountered: