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
« lib/IO/K8s/ExternalSecrets/V1/VaultJwtAuth.pm ↑ Summary 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 3 our $VERSION = '1.112';
4 3 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 k8s mountPath => Str, { required => 'schema', default => 'kubernetes' };
7 3 k8s role => Str, { required => 'schema' };
8 3 k8s secretRef => '+IO::K8s::ExternalSecrets::V1::SecretKeySelector';
9 3 k8s serviceAccountRef => '+IO::K8s::ExternalSecrets::V1::ServiceAccountSelector';
10  
11  
12  
13  
14  
15 3 1;
16  
17 __END__
« lib/IO/K8s/ExternalSecrets/V1/VaultJwtAuth.pm ↑ Summary lib/IO/K8s/ExternalSecrets/V1/VaultKubernetesServiceAccountTokenAuth.pm »