Skip to content

Commit

Permalink
Add RBAC permissions for coordination.k8s.io/leases (#260)
Browse files Browse the repository at this point in the history
Signed-off-by: Emruz Hossain <emruz@appscode.com>
  • Loading branch information
Emruz Hossain authored Jun 16, 2022
1 parent c0bf346 commit 803d36d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/stash-community/templates/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,8 @@ rules:
resources:
- storageclasses
verbs: ["get"]
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs: ["*"]
5 changes: 5 additions & 0 deletions charts/stash-enterprise/templates/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,8 @@ rules:
resources:
- storageclasses
verbs: ["get"]
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs: ["*"]

0 comments on commit 803d36d

Please sign in to comment.