hashicorp / vault-k8s

First-class support for Vault and Kubernetes.
Mozilla Public License 2.0
786 stars 169 forks source link

fix: prevent using IRSA token for Kubernetes auth #545

Open cm3lindsay opened 11 months ago

cm3lindsay commented 11 months ago

Summary Skip IRSA token when detecting the service account token to use for the Kubernetes auth method.

I tried to follow the same logic used elsewhere for detecting the IRSA token.

Fixes https://github.com/hashicorp/vault-k8s/issues/544

hashicorp-cla commented 11 months ago

CLA assistant check
All committers have signed the CLA.