OBJECT

KubernetesKindRole

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

link GraphQL Schema definition

  • type KubernetesKindRole implements KubernetesResourceInterface, Node {
  • # 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: KubernetesKindRoleRelationships!
  • # 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: [KubernetesKindRoleRules]
  • # Raw YAML response as produced by KRM API
  • yaml: String!
  • }