Skip to content

Commit 5d57361

Browse files
authored
Merge pull request #18948 from bparees/tsb39
require templateinstance delete, not update, on unbind
2 parents 6d21b7d + 451b507 commit 5d57361

File tree

1 file changed

+1
-1
lines changed
  • pkg/templateservicebroker/servicebroker

1 file changed

+1
-1
lines changed

pkg/templateservicebroker/servicebroker/unbind.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (b *Broker) Unbind(u user.Info, instanceID, bindingID string) *api.Response
6666
// templateinstances in this namespace.
6767
if err := util.Authorize(b.kc.Authorization().SubjectAccessReviews(), u, &authorizationv1.ResourceAttributes{
6868
Namespace: namespace,
69-
Verb: "update",
69+
Verb: "delete",
7070
Group: templateapi.GroupName,
7171
Resource: "templateinstances",
7272
Name: brokerTemplateInstance.Spec.TemplateInstance.Name,

0 commit comments

Comments
 (0)