when I read these two doc pages:
- https://www.vaultproject.io/docs/agent/
-
https://www.vaultproject.io/docs/agent/template/
I thought templating will respect env vars such asVAULT_ADDR, VAULT_CACERT
however these seem to be no respected exceptVAULT_ADDR
. It only worked properly when I add explicitly all cert configs in vault agent config file rather than having it in env vars.
If it’s a bug than I will file an issue it on GitHub. At the moment I’m not sure if this is a bug or if I’m doing it right. So I wanted to discuss with you before I file an issue.