What actions can be controlled for the applications resource?
Short answer
For applications you can control get (view), create, update, delete, sync, override (override a running operation), and action/* (run resource actions like restart).
Advertisement
AModel answer
For applications you can control get (view), create, update, delete, sync, override (override a running operation), and action/* (run resource actions like restart). Fine-grained control lets you, for example, allow developers to view and sync but reserve create/delete for platform admins.
Example
p, role:dev, applications, action/apps/Deployment/restart, '*/*', allow
Real-world example
Developers are allowed to restart Deployments via ArgoCD actions but not to delete applications.
Likely follow-ups
- What does the override action do? | How do resource actions fit RBAC?
Related topics