RoleBinding
Class sealed net10.0
Represents a Kubernetes RoleBinding resource, binding a Role or ClusterRole to a set of subjects (users, groups, or service accounts).
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class RoleBinding : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource{ // ...}Remarks
Section titled 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.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesRoleRefget; set Gets or sets the reference to the role or cluster role that the binding applies to.
Subjectsget Represents a collection of Subjects that define the identities (users, groups, or service accounts) bound to a specific Role or ClusterRole in Kubernetes.