Hi, I am trying to inject secrets inside POD environment variables.
I followed this doc - Vault Agent Sidecar Injector Examples | Vault by HashiCorp
These are my command arguments -
command: ["/bin/bash"]
args: ["-c", ‘source /vault/secrets/config && sleep infinity’]
You see, for entrypoint script I am using sleep infinity, so when I check the env inside the POD i got no secret,
But note that, when I run this above command inside the POD manually, I can successfully inject the secret inside as POD env variable.