blib/lib/IO/K8s/ExternalSecrets/V1/VaultKubernetesAuth.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/ExternalSecrets/V1/VaultJwtAuth.pm ↑ Summary blib/lib/IO/K8s/ExternalSecrets/V1/VaultKubernetesServiceAccountTokenAuth.pm »
1 package IO::K8s::ExternalSecrets::V1::VaultKubernetesAuth;
2 # ABSTRACT: Kubernetes authenticates with Vault by passing the ServiceAccount token stored in the named Secret resource to the Vault server.
3 9 our $VERSION = '1.111';
4 9 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 9 k8s mountPath => Str, { required => 'schema', default => 'kubernetes' };
7 9 k8s role => Str, { required => 'schema' };
8 9 k8s secretRef => '+IO::K8s::ExternalSecrets::V1::SecretKeySelector';
9 9 k8s serviceAccountRef => '+IO::K8s::ExternalSecrets::V1::ServiceAccountSelector';
10  
11  
12  
13  
14  
15 9 1;
16  
17 __END__
« blib/lib/IO/K8s/ExternalSecrets/V1/VaultJwtAuth.pm ↑ Summary blib/lib/IO/K8s/ExternalSecrets/V1/VaultKubernetesServiceAccountTokenAuth.pm »