« lib/IO/K8s/Api/Admissionregistration/V1alpha1/MatchCondition.pm
↑ Summary
lib/IO/K8s/Api/Admissionregistration/V1alpha1/MutatingAdmissionPolicy.pm »
| 1 | package IO::K8s::Api::Admissionregistration::V1alpha1::MatchResources; | ||
| 2 | # ABSTRACT: 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) | ||
| 3 | 2 | our $VERSION = '1.112'; | |
| 4 | 2 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | k8s excludeResourceRules => ['Admissionregistration::V1alpha1::NamedRuleWithOperations']; | |
| 7 | |||
| 8 | |||
| 9 | 2 | k8s matchPolicy => Str; | |
| 10 | |||
| 11 | |||
| 12 | 2 | k8s namespaceSelector => 'Meta::V1::LabelSelector'; | |
| 13 | |||
| 14 | |||
| 15 | 2 | k8s objectSelector => 'Meta::V1::LabelSelector'; | |
| 16 | |||
| 17 | |||
| 18 | 2 | k8s resourceRules => ['Admissionregistration::V1alpha1::NamedRuleWithOperations']; | |
| 19 | |||
| 20 | |||
| 21 | 2 | 1; | |
| 22 | |||
| 23 | __END__ | ||