Skip to content

Commit 57ad427

Browse files
authored
add rbac resources for inspect job (#347)
Signed-off-by: pixiake <[email protected]>
1 parent 8cc955a commit 57ad427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/template/role_template.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func GetClusterRoleTemplate() *rbacv1.ClusterRole {
3535
},
3636
{
3737
APIGroups: []string{"rbac.authorization.k8s.io"},
38-
Resources: []string{"roles", "clusterroles"},
38+
Resources: []string{"roles", "clusterroles", "rolebindings", "clusterrolebindings"},
3939
Verbs: []string{"list", "get", "watch"},
4040
},
4141
},

0 commit comments

Comments
 (0)