Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Kargo role matrix #3135

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/docs/30-how-to-guides/30-managing-user-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,21 @@ kargo delete role developer --project kargo-demo
role.rbac.kargo.akuity.io/developer deleted
```

## Kargo Role Matrix

The table below outlines the maximum rules required based on the `kargo-admin` ClusterRole. When specifying verbs, it's recommended to apply the principle of least privilege, ensuring access is limited to what is necessary for the specific role.

| **API Groups** | **Resources** | **Verbs** |
|-----------------------------|------------------------------------------------|-----------------------------------------------------|
| `""` | `events`, `namespaces`, `serviceaccounts` | `get`, `list`, `watch` |
| `rbac.authorization.k8s.io` | `rolebindings`, `roles` | `get`, `list`, `watch` |
| `kargo.akuity.io` | `freights`, `projects`, `stages`, `warehouses` | `*` |
| `kargo.akuity.io` | `stages` | `promote` |
| `kargo.akuity.io` | `promotions` | `create`, `delete`, `get`, `list`, `patch`, `watch` |
| `kargo.akuity.io` | `freights/status` | `patch` |
| `argoproj.io` | `analysisruns` | `delete`, `get`, `list`, `watch` |
| `argoproj.io` | `analysistemplates` | `*` |

## Global Mappings

In cases where certain, broad sets of permissions may be required by a large
Expand Down
Loading