Skip to content

Commit

Permalink
Merge pull request #458 from pych/bug-permission-for-leases
Browse files Browse the repository at this point in the history
[BUG]: Missed to add permission for leases.
  • Loading branch information
ese authored Sep 2, 2022
2 parents d49d103 + 49b29d4 commit 957b75d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.bash_history
.vscode
.idea/
/tmp
9 changes: 9 additions & 0 deletions charts/redisoperator/templates/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ rules:
- patch
- update
- watch
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- get
- list
- update
- apiGroups:
- ""
resources:
Expand Down
9 changes: 9 additions & 0 deletions example/operator/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ rules:
- customresourcedefinitions
verbs:
- "*"
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- get
- list
- update
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit 957b75d

Please sign in to comment.