fixed entrypoint command

This commit is contained in:
Stephan D
2026-02-28 23:22:53 +01:00
parent 598510f487
commit a6d560eb10

View File

@@ -12,4 +12,8 @@ if [ -z "${VAULT_TOKEN:-}" ]; then
echo "[entrypoint] VAULT_TOKEN is not set; expected Vault Agent sink to write a token to ${VAULT_TOKEN_FILE:-/run/vault/token}" >&2 echo "[entrypoint] VAULT_TOKEN is not set; expected Vault Agent sink to write a token to ${VAULT_TOKEN_FILE:-/run/vault/token}" >&2
fi fi
exec "$@" if [ "$#" -gt 0 ] && [ "${1#-}" != "${1}" ]; then
set -- /app/callbacks "$@"
fi
exec "/app/callbacks" "$@"