Skip to content

Commit

Permalink
Fix rbac for leadership election (#3568)
Browse files Browse the repository at this point in the history
  • Loading branch information
ukclivecox committed Sep 4, 2021
1 parent 4a2ae41 commit a9e3793
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
Expand Up @@ -19,10 +19,8 @@ rules:
- update
- patch
- apiGroups:
- ''
- coordination.k8s.io
resources:
- configmaps
- leases
verbs:
- get
Expand All @@ -32,6 +30,18 @@ rules:
- update
- patch
- delete
- apiGroups:
- ''
resources:
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ''
resources:
Expand Down
14 changes: 12 additions & 2 deletions operator/config/rbac/leader_election_role.yaml
Expand Up @@ -13,10 +13,8 @@ rules:
- update
- patch
- apiGroups:
- ""
- coordination.k8s.io
resources:
- configmaps
- leases
verbs:
- get
Expand All @@ -26,6 +24,18 @@ rules:
- update
- patch
- delete
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit a9e3793

Please sign in to comment.