ClusterRole Properties
Class Properties 2 members
Represents a Kubernetes ClusterRole resource in API version v1.
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.
public AggregationRuleV1 AggregationRule { get; set; }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.
Represents a collection of policy rules applied to the Kubernetes ClusterRole.
public List<PolicyRuleV1> Rules { get; }Remarks
The
Rules property defines a set of rules that dictate access permissions within a Kubernetes ClusterRole resource. Each rule describes the actions, resources, and namespaces that are subject to specific policies. This property is a list of PolicyRuleV1 objects, where each object specifies the precise components of a policy rule, including API groups, resources, verbs, and URLs.