Resources / Role
Role
A set of permissions (rules) that can be bound to principals.
Overview
| API | iam.etorm.com/v1alpha1 |
| Resource | roles (cluster-scoped inside its cluster) |
| Short names | none |
| Available in | the platform and project clusters |
| Status | none: the object is configuration only |
Minimal example
apiVersion: iam.etorm.com/v1alpha1
kind: Role
metadata:
name: example
spec:
rules:
- verbs:
- "<verbs>"
Spec
| Field | Type | Required | Default | Allowed | Description |
description | string | | | up to 512 characters | |
rules | list of object | yes | | up to 256 items | The permissions: API groups, resources, verbs and optional names. |
rules[].apiGroups | list of string | | | | |
rules[].resources | list of string | | | | |
rules[].resourceNames | list of string | | | | |
rules[].nonResourcePaths | list of string | | | | |
rules[].verbs | list of string | yes | | | |
Columns in listings
| Column | From |
|---|
| Description | .spec.description |
Related guides
All resources