Vault-agent-init container not started but main container started - how to avoid this

Hi Team,

we enabled to vault-agent-init templated in deployment to fetch secret from vault which is working, now we facing issue the pod came up and running after restart without the vault-agent-init (it may be vault accessible issue or something which I am digging). this is weird and its happened for few deployment not sure how to troubleshoot this. other deployment its hung in init container if vault-agent-init is not successful. how to troubleshoot the deployement which ignore vault-agent-init to start