Is it possible to run Agent before other init containers?

We are using init containers to execute database migrations. Is it possible to inject secrets inside init container using Vault agent?

I executed “describe pod” and it shows, that vault inject init container is executed after all init containers. Is it possible to change the order and run it before any other init containers?


Hi there! Have you tried setting the agent-init-first annotation to true? I think that might be what you’re looking for.