Skip to content

Commit

Permalink
chore: add lease RBAC
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurcgc committed Oct 27, 2023
1 parent 37c6003 commit 2aaf294
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tsuru-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.16
version: 0.2.17

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
7 changes: 7 additions & 0 deletions charts/tsuru-api/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ metadata:
{{- include "tsuru-api.labels" . | nindent 4 }}
rules:

- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- "*"

- apiGroups:
- ""
resources:
Expand Down

0 comments on commit 2aaf294

Please sign in to comment.