...
Default Roles in Kubernetes
Default ClusterRole | Description |
---|---|
cluster-admin | Allows read/write access to any resources across all namespaces. |
admin | Allows read/write to any resources in a namespace. |
edit | Allows read/write access to resources in a namespace except Roles and RoleBindings. Does provide access to Secrets. |
view | Allows read-only access to resource in a namespace except Roles, RoleBindings, and Secrets. |
Creating Roles
Method | Example | ||
---|---|---|---|
kubectl CLI |
| ||
YAML manifest |
The API group name for a resource can be identified by performing |