Resources / Role

Role

A set of permissions (rules) that can be bound to principals.

Overview

APIiam.etorm.com/v1alpha1
Resourceroles (cluster-scoped inside its cluster)
Short namesnone
Available inthe platform and project clusters
Statusnone: the object is configuration only

Minimal example

apiVersion: iam.etorm.com/v1alpha1
kind: Role
metadata:
  name: example
spec:
  rules:
  - verbs:
    - "<verbs>"

Spec

FieldTypeRequiredDefaultAllowedDescription
descriptionstringup to 512 characters
ruleslist of objectyesup to 256 itemsThe permissions: API groups, resources, verbs and optional names.
rules[].apiGroupslist of string
rules[].resourceslist of string
rules[].resourceNameslist of string
rules[].nonResourcePathslist of string
rules[].verbslist of stringyes

Columns in listings

ColumnFrom
Description.spec.description

Related guides

All resources