Right now, v1alpha1 of ClusterAdmissionPolicy allows to set only one matching rule per policy. This is a limitation compared to what a regular Webhook admission controller offers.
Admission criteria
Change the definition of ClusterAdmissionPolicy to allow multiple RuleWithOperations objects to be handled by a single policy.
After this change, a ClusterAdmissionPolicy declaration would look like that:
Right now,
v1alpha1
ofClusterAdmissionPolicy
allows to set only one matching rule per policy. This is a limitation compared to what a regular Webhook admission controller offers.Admission criteria
Change the definition of ClusterAdmissionPolicy to allow multiple RuleWithOperations objects to be handled by a single policy.
After this change, a ClusterAdmissionPolicy declaration would look like that: