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

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

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
interface MatchResources
import { type MatchResources } from "https://deno.land/x/kubernetes_apis@v0.5.0/builtin/admissionregistration.k8s.io@v1alpha1/structs.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