Skip to content

Commit adee662

Browse files
pmorieJeff Peeler
authored and
Jeff Peeler
committed
Updated missed fields in service and plan specs (#1406)
1 parent 2095919 commit adee662

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/controller/controller_broker.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,8 @@ func (c *controller) reconcileClusterServiceClassFromClusterServiceBrokerCatalog
598598
toUpdate.Spec.Tags = serviceClass.Spec.Tags
599599
toUpdate.Spec.Description = serviceClass.Spec.Description
600600
toUpdate.Spec.Requires = serviceClass.Spec.Requires
601+
toUpdate.Spec.ExternalName = serviceClass.Spec.ExternalName
602+
toUpdate.Spec.ExternalMetadata = serviceClass.Spec.ExternalMetadata
601603

602604
if _, err := c.serviceCatalogClient.ClusterServiceClasses().Update(toUpdate); err != nil {
603605
glog.Errorf(
@@ -663,6 +665,8 @@ func (c *controller) reconcileClusterServicePlanFromClusterServiceBrokerCatalog(
663665
toUpdate.Spec.Description = servicePlan.Spec.Description
664666
toUpdate.Spec.Bindable = servicePlan.Spec.Bindable
665667
toUpdate.Spec.Free = servicePlan.Spec.Free
668+
toUpdate.Spec.ExternalName = servicePlan.Spec.ExternalName
669+
toUpdate.Spec.ExternalMetadata = servicePlan.Spec.ExternalMetadata
666670
toUpdate.Spec.ServiceInstanceCreateParameterSchema = servicePlan.Spec.ServiceInstanceCreateParameterSchema
667671
toUpdate.Spec.ServiceInstanceUpdateParameterSchema = servicePlan.Spec.ServiceInstanceUpdateParameterSchema
668672
toUpdate.Spec.ServiceBindingCreateParameterSchema = servicePlan.Spec.ServiceBindingCreateParameterSchema

0 commit comments

Comments
 (0)