-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add docs for karmada components-rbac
Signed-off-by: B1F030 <[email protected]>
- Loading branch information
Showing
2 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
docs/administrator/security/rbac-permissions-for-karmada-components.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: RBAC Permissions for Karmada Components | ||
--- | ||
|
||
# RBAC Permissions for Karmada Components | ||
|
||
## karmada-operator | ||
|
||
| API Group | Resource | Verbs | Description | | ||
|-----------|----------|-------|-------------| | ||
| coordination.k8s.io | leases | get, create, update | Required for leader election. | | ||
| operator.karmada.io | karmadas | get, list, watch, update | To manage Karmada instances. | | ||
| operator.karmada.io | karmadas/status | update | To update the status subresource of Karmada instances. | | ||
| "" (core) | events | create | Allows karmada-operator to record events in the Kubernetes API server. | | ||
| "" (core) | nodes, pods | list | List cluster nodes and pods to get node information and for health checks. | | ||
| "" (core) | namespaces | get | To get information about namespaces, and deploy resources into specific namespaces. | | ||
| "" (core) | secrets, services | get, create, update, delete | To manage secrets which might contain sensitive data like credentials and services to expose applications within the cluster. | | ||
| apps | statefulsets, deployments | get, create, update, delete | To manage StatefulSets, e.g., etcd, and Deployments, e.g., karmada-operator. | | ||
|
||
| Non-Resource URLs | Verbs | Description | | ||
|-------------|-------|-------------| | ||
| /healthz | get | Used to check whether the Karmada API server is healthy. | | ||
|
||
|
||
## karmada-agent | ||
|
||
| API Group | Resource | Verbs | Description | | ||
|-----------|----------|-------|-------------| | ||
| cluster.karmada.io | clusters | list, watch | To manage and monitor clusters. | | ||
| cluster.karmada.io | clusters | get, create, delete | resourceNames: {{clustername}} | | ||
| cluster.karmada.io | clusters/status | update | resourceNames: {{clustername}} | | ||
| config.karmada.io | resourceinterpreterwebhookconfigurations, resourceinterpretercustomizations | get, list, watch | To list and watch resource interpreter configurations. | | ||
| "" (core) | namespaces | get | To get information about namespaces. | | ||
| coordination.k8s.io | leases | get, create, update | Required for leader election. | | ||
| certificates.k8s.io | certificatesigningrequests | get, create | To get and create CSR. | | ||
| "" (core) | events | create, patch, update | Allows karmada-agent to record events in the Karmada API server. | | ||
| "" (core) | secrets | get, create, patch | To manage secrets which might contain sensitive data like credentials. | | ||
| work.karmada.io | works | get, list, watch, create, update, delete | To manage work resources. | | ||
| work.karmada.io | works/status | patch, update | To update the status of work resources. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters