OBJECT

KubernetesKindClusterRole

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

link GraphQL Schema definition

  • type KubernetesKindClusterRole implements KubernetesResourceInterface, Node {
  • # AggregationRule is an optional field that describes how to build the Rules for
  • # this ClusterRole. If AggregationRule is set, then the Rules are controller
  • # managed and direct changes to Rules will be stomped by the controller.
  • aggregationRule: KubernetesKindClusterRoleAggregationRule
  • # Kubernetes resource API version
  • apiVersion: String!
  • # Resource context
  • context: KubernetesResourceContext!
  • # Node-compatible globally unique opaque ID field
  • id: ID!
  • # Raw JSON response as produced by KRM API
  • json: JSON!
  • # Kubernetes resource kind coming from resourceKind.kind
  • kind: String!
  • # Standard object's metadata. More info:
  • # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
  • metadata: KubernetesResourceMetadata!
  • # name field, taken from metadata.name
  • name: String!
  • # Relationships to other nodes
  • relationships: KubernetesKindClusterRoleRelationships!
  • # Kubernetes resource kind metadata
  • resourceKind: KubernetesResourceKind!
  • # PolicyRule holds information that describes a policy rule, but does not contain
  • # information about who the rule applies to or which namespace the rule applies
  • # to.
  • rules: [KubernetesKindClusterRoleRules]
  • # Raw YAML response as produced by KRM API
  • yaml: String!
  • }