Skip to content

Commit

Permalink
add rbac resources for inspect job (#347)
Browse files Browse the repository at this point in the history
Signed-off-by: pixiake <[email protected]>
  • Loading branch information
pixiake authored Dec 23, 2024
1 parent 8cc955a commit 57ad427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/template/role_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func GetClusterRoleTemplate() *rbacv1.ClusterRole {
},
{
APIGroups: []string{"rbac.authorization.k8s.io"},
Resources: []string{"roles", "clusterroles"},
Resources: []string{"roles", "clusterroles", "rolebindings", "clusterrolebindings"},
Verbs: []string{"list", "get", "watch"},
},
},
Expand Down

0 comments on commit 57ad427

Please sign in to comment.