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
The CFApp controller is currently managingVCAP_SERVICES by watchingCFServiceBindings. All service binding management should be a responsibility of the CFBindingController. The app controller should not care about service bindings and should not get triggered by them.
Dev Notes:
Once we give the responsibility of VCAP_SERVICES management to the servicebinding controller we will need to introduce a finalizer to the CFServiceBinding resource so that the controller rebuilds the VCAP_SERVICES secret on binding deletion.
According to the servicebinding.io spec it is possible to project secrets as env vars in the workload. We could leverage this capability and delete our own code that deals with env var injection in our app workload.
The text was updated successfully, but these errors were encountered:
On a second thought this issue does not make much sense, as the binding controller is reponsible for just one binding, while the app is what aggregates all its bindings in its environment. Therefore looks like the app controller is the appropriate place for such aggregation.
Background
The CFApp controller is currently managing
VCAP_SERVICES
by watchingCFServiceBindings
. All service binding management should be a responsibility of the CFBindingController. The app controller should not care about service bindings and should not get triggered by them.Dev Notes:
workload
. We could leverage this capability and delete our own code that deals with env var injection in our app workload.The text was updated successfully, but these errors were encountered: