Injecting Secrets with Vault on K8s

Hi all
I am trying to get secrets injected from vault with annotation using k8s-vault injection container.
Basically following this guidelines

My app keep crashing with initcontainer exiting saying no vault found

k logs -f app-88b5ffdfb -n test -c vault-agent-init
/bin/sh: vault: not found

Any suggestions?

regards
sgautam

The Vault binary is not installed or not in the path.

Here is the step-by-step guide for the presentation: https://learn.hashicorp.com/vault/getting-started-k8s/sidecar

1 Like

Yeah but the vault-agent-init is hashicorp/vault-k8s:0.3.0 image and that should have vault binary.

I am following same docs to inject with annotations.

This works when i run vault on DEV mode and throws when i run Vault and initialise it.