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 15, 2024
1 parent 15ee7ef commit af34ac2
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 af34ac2

Please sign in to comment.