Skip to main content

RoleBinding



Resource Icon

Resource Overview

A Kubernetes resource that binds roles applied within a specific namespace to subjects.

Associated Resources

Parent Resource

Connected Resources


Resource Configuration

Basic Settings

  • namespace : Namespace where the RoleBinding resource will be applied
  • annotations : Metadata key-value for the RoleBinding resource
  • labels : User-defined labels used to distinguish the RoleBinding object
  • role_type : Type of role to bind - Role, ClusterRole
  • role_name : Name of the Role or ClusterRole to bind to the subject

Subject Settings (subject)

  • subject.kind : Type of subject to bind - ServiceAccount, User, Group
  • subject.namespace : Namespace of the subject to bind
  • subject.api_group : API Group that makes authorization decisions - rbac.authorization.k8s.io

References