Skip to content

Commit

Permalink
docs: Kargo role matrix (#3135)
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Marquis <[email protected]>
(cherry picked from commit d77a544)
  • Loading branch information
34fathombelow authored and github-actions[bot] committed Dec 13, 2024
1 parent fa07940 commit 9d52dca
Showing 1 changed file with 15 additions and 0 deletions.
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

0 comments on commit 9d52dca

Please sign in to comment.