| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package IO::K8s::Api::Admissionregistration::V1::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
|
|
|
|
|
|
|
our $VERSION = '1.008'; |
|
4
|
1
|
|
|
1
|
|
1491
|
use IO::K8s::Resource; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
k8s excludeResourceRules => ['Admissionregistration::V1::NamedRuleWithOperations']; |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
k8s matchPolicy => Str; |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
k8s namespaceSelector => 'Meta::V1::LabelSelector'; |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
k8s objectSelector => 'Meta::V1::LabelSelector'; |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
k8s resourceRules => ['Admissionregistration::V1::NamedRuleWithOperations']; |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |