orange-cloudfoundry / osb-cmdb

A configuration management db for Open Service Broker API broker implementations
Apache License 2.0
14 stars 1 forks source link

support for K8S svcat service instance updates #99

Closed gberche-orange closed 3 years ago

gberche-orange commented 3 years ago

Expected behavior

Request Field Type Description
plan_id string If present, MUST be the ID of a Service Plan from the Service Offering that has been requested. If this field is not present in the request message, then the Service Broker MUST NOT change the Service Plan of the Service Instance as a result of this request.

Observed behavior

Osb-cmdb rejects the request with Invalid plan received with unknown id: null

CloudFoundry seems to systematically provide plan_id while k8S svcat only provides it when it changes.

Osb-cmdb does not really need the plan_id to update a brokered service instance:

Currently, the plan_id is abusively required by osb-cmdb due to:

Affected release

Reproduced on version v1.4.0 and earlier