Skip to content

Commit

Permalink
Restrict role permissions for finalizers
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspetit authored Jul 22, 2023
1 parent 0c151f4 commit 68a685f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion charts/pg-operator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,19 @@ rules:
- pgv2.percona.com
resources:
- perconapgclusters
- perconapgclusters/finalizers
verbs:
- create
- get
- list
- patch
- update
- watch
- apiGroups:
- pgv2.percona.com
resources:
- perconapgclusters/finalizers
verbs:
- update
- apiGroups:
- policy
resources:
Expand Down

0 comments on commit 68a685f

Please sign in to comment.