Share via


RoleBinding Constructor

Definition

Represents a Kubernetes RoleBinding resource, binding a Role or ClusterRole to a set of subjects (users, groups, or service accounts).

public RoleBinding();
Public Sub New ()

Remarks

A RoleBinding grants the permissions defined in a Role to specific users, groups, or service accounts within a namespace. It supports the inclusion of multiple subjects and references a single role through the RoleRef property. The RoleBinding resource is namespace-scoped and helps manage access control within the Kubernetes RBAC framework.

Applies to