File Coverage

blib/lib/IO/K8s/Api/Core/V1/PodSecurityContext.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package IO::K8s::Api::Core::V1::PodSecurityContext;
2             # ABSTRACT: PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.
3             our $VERSION = '1.008';
4 3     3   3329 use IO::K8s::Resource;
  3         7  
  3         32  
5              
6             k8s appArmorProfile => 'Core::V1::AppArmorProfile';
7              
8              
9             k8s fsGroup => Int;
10              
11              
12             k8s fsGroupChangePolicy => Str;
13              
14              
15             k8s runAsGroup => Int;
16              
17              
18             k8s runAsNonRoot => Bool;
19              
20              
21             k8s runAsUser => Int;
22              
23              
24             k8s seLinuxOptions => 'Core::V1::SELinuxOptions';
25              
26              
27             k8s seccompProfile => 'Core::V1::SeccompProfile';
28              
29              
30             k8s supplementalGroups => [Int];
31              
32              
33             k8s supplementalGroupsPolicy => Str;
34              
35              
36             k8s sysctls => ['Core::V1::Sysctl'];
37              
38              
39             k8s windowsOptions => 'Core::V1::WindowsSecurityContextOptions';
40              
41              
42             1;
43              
44             __END__