Remove un-required permissions for the manager-role of the new AutoScalingRunnerSet (#2260)

This commit is contained in:
Tingluo Huang
2023-02-07 12:37:09 -05:00
committed by GitHub
parent 8f62e35f6b
commit facae69e0b
6 changed files with 6 additions and 110 deletions

View File

@@ -162,7 +162,7 @@ func TestTemplate_CreateManagerRole(t *testing.T) {
assert.Empty(t, managerRole.Namespace, "ClusterRole should not have a namespace")
assert.Equal(t, "test-arc-actions-runner-controller-2-manager-role", managerRole.Name)
assert.Equal(t, 25, len(managerRole.Rules))
assert.Equal(t, 17, len(managerRole.Rules))
}
func TestTemplate_ManagerRoleBinding(t *testing.T) {