Advertisement
Advanced ArgoCD, RBAC

How do you separate duties between who can create apps and who can sync them?

Short answer

Grant create/delete on applications to platform admins and only get/sync to developers, via distinct roles. This separation means developers can deploy approved apps but not create arbitrary ones or remove them, enforcing change control and least privilege.

Save ArgoCD mock interview
Advertisement
AModel answer
Grant create/delete on applications to platform admins and only get/sync to developers, via distinct roles. This separation means developers can deploy approved apps but not create arbitrary ones or remove them, enforcing change control and least privilege.
Example

p, role:dev, applications, sync, '*/*', allow p, role:platform, applications, create, '*/*', allow

Real-world example
Developers sync existing apps while only the platform team can create or delete Application definitions.
Likely follow-ups
  • How does omitting create limit developers? | Why separate these duties?
Related topics