- Access external vault server from Kubernetes, access is given via external-vault endpoint that points to external server.
- All policies and roles etc., created as per documentations
- Vault-agent is installed
Now when deploying the sample org-chart application with annotations to side-car container is not starting. Logs of vault-init-container in a pod, shows following authentication errors. However, when we exec shell and enter vault-init-container and try to do vault login with root token from within container, it works.
Vault agent error:
auth.handler: authenticating
2022-02-16T17:54:18.287Z [ERROR] auth.handler: error authenticating: error=“context deadline exceeded” backoff=3m52.18s
What could be the issue?