Share via


ClusterRole.AggregationRule Property

Definition

Gets or sets the aggregation rule associated with the ClusterRole. Defines how multiple cluster roles can be aggregated together, simplifying role-based access control implementation.

[YamlDotNet.Serialization.YamlMember(Alias="aggregationRule")]
public Aspire.Hosting.Kubernetes.Resources.AggregationRuleV1 AggregationRule { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="aggregationRule")>]
member this.AggregationRule : Aspire.Hosting.Kubernetes.Resources.AggregationRuleV1 with get, set
Public Property AggregationRule As AggregationRuleV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The AggregationRule allows for automatic composition of permissions by defining a set of label selectors that identify the roles to be aggregated. Use this property to configure advanced RBAC mechanisms in Kubernetes clusters.

Applies to