Share via


RoleBinding.Subjects Property

Definition

Represents a collection of Subjects that define the identities (users, groups, or service accounts) bound to a specific Role or ClusterRole in Kubernetes.

[YamlDotNet.Serialization.YamlMember(Alias="subjects")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.SubjectV1> Subjects { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="subjects")>]
member this.Subjects : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.SubjectV1>
Public ReadOnly Property Subjects As List(Of SubjectV1)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

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.

Applies to