Skip to content

Commit e6ab234

Browse files
committed
Add missing permission in clusterrole
Signed-off-by: Varsha B <[email protected]>
1 parent 14fad82 commit e6ab234

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

controllers/argocd/openshift/openshift.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,17 @@ func policyRulesForClusterConfig() []rbacv1.PolicyRule {
333333
"*",
334334
},
335335
},
336+
{
337+
APIGroups: []string{
338+
"",
339+
},
340+
Resources: []string{
341+
"serviceaccounts",
342+
},
343+
Verbs: []string{
344+
"impersonate",
345+
},
346+
},
336347
}
337348
}
338349

0 commit comments

Comments
 (0)