Skip to content

Commit

Permalink
Bug Fix: missing rbac rules in _helpers.tpl
Browse files Browse the repository at this point in the history
Signed-off-by: Itay Grudev <[email protected]>
  • Loading branch information
itay-grudev committed Dec 17, 2024
1 parent a80caf7 commit 72b5a6c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions charts/cloudnative-pg/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,11 @@ namespace scope or clusterwide
resources:
- backups
- clusters
- databases
- poolers
- publications
- scheduledbackups
- subscriptions
verbs:
- create
- delete
Expand All @@ -210,7 +213,10 @@ namespace scope or clusterwide
- postgresql.cnpg.io
resources:
- backups/status
- databases/status
- publications/status
- scheduledbackups/status
- subscriptions/status
verbs:
- get
- patch
Expand Down
4 changes: 2 additions & 2 deletions charts/cloudnative-pg/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ rules:
resources:
- backups
- clusters
- poolers
- scheduledbackups
- databases
- poolers
- publications
- scheduledbackups
- subscriptions
verbs:
- get
Expand Down

0 comments on commit 72b5a6c

Please sign in to comment.