I have setup vault-agent-injector in our k8s cluster which is talking to an external vault server. The injector webhook works perfectly in placing the init container and side car container. The init container does load my secrets onto /vault/secrets , however the sidecar container responsible for syncing the secrets dynamically isn’t seems to do it’s job. In the sidecar logs I do see that it keeps on renewing auth token but never renews the secrets. Can somebody please advise. Also, what’s the default interval for automatic syncing of secrets.
I had the same experience running vault-agent-injector on my k8s cluster using straight default settings in the vault-helm chart. Secrets load on pod startup, but are not updated as they change on the vault server.
Any vault product managers here? Can you straighten us out on this?
I also have the same scenario and met the same issue. I updated the secret in Vault server, but inside the pod the injected secrets is not synced.