Skip to content

Commit 7033e29

Browse files
authored
Add events role permission to leader_election_role (#3988)
1 parent 344c242 commit 7033e29

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

charts/gha-runner-scale-set-controller/templates/leader_election_role.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ rules:
99
- apiGroups: ["coordination.k8s.io"]
1010
resources: ["leases"]
1111
verbs: ["get", "watch", "list", "delete", "update", "create"]
12-
{{- end }}
12+
- apiGroups: [""]
13+
resources: ["events"]
14+
verbs: ["create", "patch"]
15+
{{- end }}

0 commit comments

Comments
 (0)