Skip to content

Commit

Permalink
Add roles for leader election
Browse files Browse the repository at this point in the history
  • Loading branch information
ykadowak committed Mar 11, 2024
1 parent 21bca51 commit c3c9153
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions charts/vald/templates/discoverer/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ rules:
- get
- list
- watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- nonResourceURLs:
- /metrics
verbs:
Expand All @@ -67,4 +73,11 @@ rules:
- get
- list
- watch
- apiGroups:
- "coordination.k8s.io"
resources:
- leases
verbs:
- get
- update
{{- end }}

0 comments on commit c3c9153

Please sign in to comment.