Skip to content

Commit

Permalink
feat(checker): add deployments to clusterrole
Browse files Browse the repository at this point in the history
longhorn/longhorn-9752

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang committed Nov 14, 2024
1 parent 9ecb86f commit 7780ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/remote/preflight/checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (remote *Checker) newClusterRole() *rbacv1.ClusterRole {
Rules: []rbacv1.PolicyRule{
{
APIGroups: []string{"apps"},
Resources: []string{"daemonsets"},
Resources: []string{"daemonsets", "deployments"},
Verbs: []string{"get"},
},
},
Expand Down

0 comments on commit 7780ea8

Please sign in to comment.