Propagating new Binding outputs (credentials) for existing Bindings #1831
Comments
|
Is it an instance.update() or binding.get() to the broker? Those two actions could have different ACLs - so a user might be allowed to get their creds but not ask for an instance update. W/o Get() being supported, I suspect you may have to issue a new instance.createBinding() request. |
|
I suspect that you need to do a little work on your side of the development. I would not expect a binding to update it's binding result over time. I see a binding as pretty fixed even if Get() is supported. I would assume that the Get() on an existing binding would return the same binding result as the first time? I think the answer has to be the binding response needs to contain the version of Thinking about it a bit more I think So a serviceInstance.planUpgradable might not be enough data to understand what happens to the bindings for that instance. I think this needs more thought for OSBAPI, it is similar to a general question we have been having around update/upgrade plans. |
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
|
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
|
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
|
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Is there any established pattern for being able to force re-fetching credentials for all existing bindings?
Example:
Broker v1creates a serviceTheBestDatabasewith a planDefaultthat returns a minimal set of credentialsB1for a binding.Broker v2that adds extra fields to credentials for bindings (in a backward compatible way) for the same plan,B2=B1 + b2.b2fields. Just deploying a new app version via Deployment/Pod is not enough. Since parameters for binding haven't changed, the credentialsSecretwill remain havingB1. We need to force Service Catalog to issue an update request to the Broker that will fetchB2credentials and update the credentialsSecret.Options:
Default_v1,Default_v2etc so that user can explicitly switch instance to a new plan. But in that case there still won't be a binding update request?updateRequest++in the binding spec.The text was updated successfully, but these errors were encountered: