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

x/kubernetes_apis/builtin/rbac.authorization.k8s.io@v1/mod.ts>RoleBinding

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

RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.

Properties

optional
apiVersion: "rbac.authorization.k8s.io/v1"
optional
kind: "RoleBinding"
optional
metadata: MetaV1.ObjectMeta | null
roleRef: RoleRef
optional
subjects: Array<Subject> | null