@@ -120,7 +120,7 @@ func getServiceCatalogClusterRoles() []rbacv1.ClusterRole {
120
120
Labels : map [string ]string {"rbac.authorization.k8s.io/aggregate-to-admin" : "true" },
121
121
},
122
122
Rules : []rbacv1.PolicyRule {
123
- rbacv1helpers .NewRule ("create" , "update" , "delete" , "get" , "list" , "watch" , "patch" ).Groups ("servicecatalog.k8s.io" ).Resources ("serviceinstances" , "servicebindings" ).RuleOrDie (),
123
+ rbacv1helpers .NewRule ("create" , "update" , "delete" , "get" , "list" , "watch" , "patch" ).Groups ("servicecatalog.k8s.io" ).Resources ("serviceinstances" , "servicebindings" , "servicebrokers" , "serviceclasses" , "serviceplans" ).RuleOrDie (),
124
124
rbacv1helpers .NewRule ("create" , "update" , "delete" , "get" , "list" , "watch" ).Groups ("settings.k8s.io" ).Resources ("podpresets" ).RuleOrDie (),
125
125
},
126
126
},
@@ -130,7 +130,7 @@ func getServiceCatalogClusterRoles() []rbacv1.ClusterRole {
130
130
Labels : map [string ]string {"rbac.authorization.k8s.io/aggregate-to-edit" : "true" },
131
131
},
132
132
Rules : []rbacv1.PolicyRule {
133
- rbacv1helpers .NewRule ("create" , "update" , "delete" , "get" , "list" , "watch" , "patch" ).Groups ("servicecatalog.k8s.io" ).Resources ("serviceinstances" , "servicebindings" ).RuleOrDie (),
133
+ rbacv1helpers .NewRule ("create" , "update" , "delete" , "get" , "list" , "watch" , "patch" ).Groups ("servicecatalog.k8s.io" ).Resources ("serviceinstances" , "servicebindings" , "servicebrokers" , "serviceclasses" , "serviceplans" ).RuleOrDie (),
134
134
rbacv1helpers .NewRule ("create" , "update" , "delete" , "get" , "list" , "watch" ).Groups ("settings.k8s.io" ).Resources ("podpresets" ).RuleOrDie (),
135
135
},
136
136
},
@@ -140,7 +140,7 @@ func getServiceCatalogClusterRoles() []rbacv1.ClusterRole {
140
140
Labels : map [string ]string {"rbac.authorization.k8s.io/aggregate-to-view" : "true" },
141
141
},
142
142
Rules : []rbacv1.PolicyRule {
143
- rbacv1helpers .NewRule ("get" , "list" , "watch" ).Groups ("servicecatalog.k8s.io" ).Resources ("serviceinstances" , "servicebindings" ).RuleOrDie (),
143
+ rbacv1helpers .NewRule ("get" , "list" , "watch" ).Groups ("servicecatalog.k8s.io" ).Resources ("serviceinstances" , "servicebindings" , "servicebrokers" , "serviceclasses" , "serviceplans" ).RuleOrDie (),
144
144
},
145
145
},
146
146
{
0 commit comments