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 <[email protected]>
  • Loading branch information
c3y1huang committed Nov 28, 2024
1 parent 4673a4f commit 430891e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/remote/preflight/checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ func (remote *Checker) newClusterRole() *rbacv1.ClusterRole {
Rules: []rbacv1.PolicyRule{
{
APIGroups: []string{"apps"},
Resources: []string{"daemonsets"},
Verbs: []string{"get"},
Resources: []string{"daemonsets", "deployments"},
Verbs: []string{"get", "list"},
},
},
}
Expand Down

0 comments on commit 430891e

Please sign in to comment.