Open Rohmilchkaese opened 1 year ago
I've just tried to do it with Vault CLI but error stays, so maybe its just wrong documentation ?
@Rohmilchkaese Hi, from https://developer.hashicorp.com/vault/docs/auth/kubernetes#use-local-service-account-token-as-the-reviewer-jwt
To use the local token and CA certificate, omit token_reviewer_jwt and kubernetes_ca_cert when configuring the auth method. Vault will attempt to load them from token and ca.crt respectively inside the default mount folder /var/run/secrets/kubernetes.io/serviceaccount/.
Can you confirm that you have a local service account token setup?
Hi All,
I'm trying to configure an Auth Kubernetes Backend. The Docs clearly state, that an
kubernetes_ca_cert
ist optional. But I'm getting an Error that indicates the exact opposite.Affected Resource(s)
vault_kubernetes_auth_backend_config
Terraform Configuration Files
Logs
Expected Behavior
Config my Kubernetes Auth Backend.
Actual Behavior
Error about missing
kubernetes_ca_cert
orpem_keys
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
withoutkubernetes_ca_cert
orpem_keys