Skip to content

Commit

Permalink
feat: forbid role:admin to delete resources
Browse files Browse the repository at this point in the history
  • Loading branch information
mikutas committed Oct 9, 2024
1 parent 80d7e69 commit b5d85f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/argo-cd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ argo-cd:
"applicationsetcontroller.policy": create-update
"server.insecure": true
rbac:
policy.csv: |
p, role:admin, applications, delete, argo-cd/*, deny
# https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/#default-policy-for-authenticated-users
policy.default: role:admin
styles: |
Expand Down

0 comments on commit b5d85f6

Please sign in to comment.