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

x/kubernetes_apis/builtin/admissionregistration.k8s.io@v1alpha1/mod.ts>MatchResources

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

MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)

Properties

optional
excludeResourceRules: Array<NamedRuleWithOperations> | null
optional
matchPolicy: string | null
optional
namespaceSelector: MetaV1.LabelSelector | null
optional
objectSelector: MetaV1.LabelSelector | null
optional
resourceRules: Array<NamedRuleWithOperations> | null