Skip to main content

Role



Resource Icon

Resource Overview

A Kubernetes resource that creates roles applied only within a specified namespace.

Associated Resources

Parent Resource

Connected Resources


Resource Configuration

Basic Settings

  • namespace : Namespace where the Role resource will be deployed
  • 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.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.verbs : List of verbs applied to all resources in the rule - get, list, create, update, patch, watch, delete, deletecollection

References