Skip to content

Commit 3ab472b

Browse files
Merge pull request #17134 from jpeeler/rbac-serviceinstance
Automatic merge from submit-queue (batch tested with PRs 15163, 17134). catalog: add RBAC rules for serviceinstances
2 parents 07435db + 6646a28 commit 3ab472b

File tree

1 file changed

+2
-2
lines changed
  • pkg/oc/bootstrap/docker/openshift

1 file changed

+2
-2
lines changed

pkg/oc/bootstrap/docker/openshift/rbac.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func GetServiceCatalogRBACDelta() []rbac.ClusterRole {
1515
Name: bootstrappolicy.AdminRoleName,
1616
},
1717
Rules: []rbac.PolicyRule{
18-
rbac.NewRule("create", "update", "delete", "get", "list", "watch").Groups("servicecatalog.k8s.io").Resources("serviceinstances", "servicebindings").RuleOrDie(),
18+
rbac.NewRule("create", "update", "delete", "get", "list", "watch", "patch").Groups("servicecatalog.k8s.io").Resources("serviceinstances", "servicebindings").RuleOrDie(),
1919
rbac.NewRule("create", "update", "delete", "get", "list", "watch").Groups("settings.k8s.io").Resources("podpresets").RuleOrDie(),
2020
},
2121
},
@@ -24,7 +24,7 @@ func GetServiceCatalogRBACDelta() []rbac.ClusterRole {
2424
Name: bootstrappolicy.EditRoleName,
2525
},
2626
Rules: []rbac.PolicyRule{
27-
rbac.NewRule("create", "update", "delete", "get", "list", "watch").Groups("servicecatalog.k8s.io").Resources("serviceinstances", "servicebindings").RuleOrDie(),
27+
rbac.NewRule("create", "update", "delete", "get", "list", "watch", "patch").Groups("servicecatalog.k8s.io").Resources("serviceinstances", "servicebindings").RuleOrDie(),
2828
rbac.NewRule("create", "update", "delete", "get", "list", "watch").Groups("settings.k8s.io").Resources("podpresets").RuleOrDie(),
2929
},
3030
},

0 commit comments

Comments
 (0)