Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
interface RoleBinding
import { type RoleBinding } from "https://deno.land/x/kubernetes_apis@v0.3.2/builtin/rbac.authorization.k8s.io@v1alpha1/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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.

Properties

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