Skip to main content
Module

x/helmet/mod.ts>IoK8sApiRbacV1RoleBinding

Type-safe Helm - the right way to do Infrastructure as Code in Kubernetes
Go to Latest
class IoK8sApiRbacV1RoleBinding
Re-export
import { IoK8sApiRbacV1RoleBinding } from "https://deno.land/x/helmet@1.16.6/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.

Constructors

new
IoK8sApiRbacV1RoleBinding()

Properties

optional
apiVersion: string

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

optional
kind: string

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

optional
metadata: IoK8sApimachineryPkgApisMetaV1ObjectMeta
roleRef: IoK8sApiRbacV1RoleRef
optional
subjects: Array<IoK8sApiRbacV1Subject>

Subjects holds references to the objects the role applies to.

Static Properties

readonly
attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>
readonly
discriminator: string | undefined