@@ -15,7 +15,7 @@ func GetServiceCatalogRBACDelta() []rbac.ClusterRole {
15
15
Name : bootstrappolicy .AdminRoleName ,
16
16
},
17
17
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 (),
19
19
rbac .NewRule ("create" , "update" , "delete" , "get" , "list" , "watch" ).Groups ("settings.k8s.io" ).Resources ("podpresets" ).RuleOrDie (),
20
20
},
21
21
},
@@ -24,7 +24,7 @@ func GetServiceCatalogRBACDelta() []rbac.ClusterRole {
24
24
Name : bootstrappolicy .EditRoleName ,
25
25
},
26
26
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 (),
28
28
rbac .NewRule ("create" , "update" , "delete" , "get" , "list" , "watch" ).Groups ("settings.k8s.io" ).Resources ("podpresets" ).RuleOrDie (),
29
29
},
30
30
},
0 commit comments