Skip to main content

ClusterRole



Resource Icon

Resource Overview

A Kubernetes resource that creates roles applied at the cluster level and across all namespaces.

Associated Resources

Parent Resource

Connected Resources


Resource Configuration

Basic Settings

  • annotations : Key-value metadata used to display required information in the Kubernetes system
  • labels : User-defined labels used to distinguish objects

Policy Rules (rule)

  • rule.rule_type : Rule type of the ClusterRole - ApiGroup, ResourceUrl
  • rule.api_groups : API Groups that include resources for which actions are allowed
  • rule.resources : List of resources to which this rule applies
  • rule.resource_names : Specifies individual instances of the resource if selected
  • rule.non_resource_urls : Used when defining rules for non-resource URLs
  • rule.verbs : List of verbs applied to all resources in the rule - get, list, create, update, patch, watch, delete, deletecollection

References