RoleBinding Properties
Class Properties 2 members
Represents a Kubernetes RoleBinding resource, binding a Role or ClusterRole to a set of subjects (users, groups, or service accounts).
Gets or sets the reference to the role or cluster role that the binding applies to.
public RoleRefV1 RoleRef { get; set; }Remarks
The RoleRef property specifies the target role or cluster role the RoleBinding object binds to. It contains information about the API group, the kind of the role (Role or ClusterRole), and the name of the role.
Represents a collection of Subjects that define the identities (users, groups, or service accounts) bound to a specific Role or ClusterRole in Kubernetes.
public List<SubjectV1> Subjects { get; }Remarks
Each item in the Subjects list specifies an entity (such as a user, group, or service account) that is granted permissions associated with the referenced Role or ClusterRole. This property is a key component of a RoleBinding or ClusterRoleBinding resource.