Resources / RoleBinding

RoleBinding

Grants a role to users, groups or service accounts, optionally limited to one billing account.

Overview

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

Minimal example

apiVersion: iam.etorm.com/v1alpha1
kind: RoleBinding
metadata:
  name: example
spec:
  roleRef:
    name: "<name>"
  subjects:
  - kind: User
    name: "<name>"

Spec

FieldTypeRequiredDefaultAllowedDescription
roleRefobjectyesThe role that is granted.
roleRef.namestringyeslength 1 to 63
subjectslist of objectyesup to 1000 itemsWho gets the role: users, groups, service accounts or, in the root cluster only, platform processes (the name is the process, the cluster its project).
subjects[].kindstring (one of)yesUser, ServiceAccount, Group, Process
subjects[].namestringyeslength 1 to 63
subjects[].clusterstringup to 63 charactersLogical cluster of a ServiceAccount; defaults to the binding's cluster.
scopeobjectRoot bindings only. Restricts the grant to one billing account and its projects, or to one workspace, its descendants and their projects (never above or beside it). Name exactly one.
scope.billingAccountreference to BillingAccountlength 1 to 63
scope.workspacereference to Workspacelength 1 to 63

Columns in listings

ColumnFrom
Role.spec.roleRef.name
Scope.spec.scope.billingAccount
Workspace.spec.scope.workspace

Related guides

All resources