Add leader election required permissions

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/2701/head
Stefan Prodan 3 years ago
parent 5dee903374
commit 1ece35e4c5
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -36,6 +36,27 @@ rules:
verbs: verbs:
- create - create
- patch - patch
# required by leader election
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- configmaps/status
verbs:
- get
- update
- patch
- apiGroups: - apiGroups:
- "coordination.k8s.io" - "coordination.k8s.io"
resources: resources:

Loading…
Cancel
Save