Kubespec Logo kubespec.dev

admissionregistration.k8s.io/v1alpha1

Cluster-scoped Resource

MutatingAdmissionPolicyBinding

        MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.

For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget).

Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
      

Click on Property Name to show the description, and Pink Types to expand schema.

Required properties are marked with *

Change History

Kubernetes v1.33

~4

Kubernetes v1.32

Kubernetes v1.31

Kubernetes v1.30

Kubernetes v1.29

Kubernetes v1.28

Kubernetes v1.27

Kubernetes v1.26

Kubernetes v1.25

Kubernetes v1.24

Kubernetes v1.23

Kubernetes v1.22

Kubernetes v1.21

Kubernetes v1.20

Kubernetes v1.19

Kubernetes v1.18

Kubernetes v1.17

Kubernetes v1.16

Kubernetes v1.15

Kubernetes v1.14

Kubernetes v1.13

Kubernetes v1.12

Kubernetes v1.11

Examples

There is 1 example of MutatingAdmissionPolicyBinding that you can use as a starting point to create your own.

apiVersion: admissionregistration.k8s.io/v1alpha1
kind: MutatingAdmissionPolicyBinding
metadata:
  name: simple-mutating-policy-binding
spec:
  policyName: simple-mutating-policy
  matchResources:
    namespaceSelector:
      matchLabels:
        environment: test

No links for MutatingAdmissionPolicyBinding yet

You can help us by adding useful links on GitHub