mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-09 23:26:28 +02:00
Add predicates to reduce reconciliations
This commit is contained in:
@@ -1022,7 +1022,12 @@ func rulesForListenerRole(resourceNames []string) []rbacv1.PolicyRule {
|
||||
},
|
||||
{
|
||||
APIGroups: []string{"actions.github.com"},
|
||||
Resources: []string{"ephemeralrunners", "ephemeralrunners/status"},
|
||||
Resources: []string{"ephemeralrunners"},
|
||||
Verbs: []string{"get", "patch"},
|
||||
},
|
||||
{
|
||||
APIGroups: []string{"actions.github.com"},
|
||||
Resources: []string{"ephemeralrunners/status"},
|
||||
Verbs: []string{"patch"},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user