Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kubernetes_apis/builtin/rbac.authorization.k8s.io@v1/structs.ts>ClusterRole

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
interface ClusterRole
import { type ClusterRole } from "https://deno.land/x/kubernetes_apis@v0.5.1/builtin/rbac.authorization.k8s.io@v1/structs.ts";

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

Properties

optional
apiVersion: "rbac.authorization.k8s.io/v1"
optional
kind: "ClusterRole"
optional
aggregationRule: AggregationRule | null
optional
metadata: MetaV1.ObjectMeta | null
optional
rules: Array<PolicyRule> | null