« 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__ | ||