fix(secrets): wrap an image server's own command, not just entrypoint #121
Reference in New Issue
Block a user
Delete Branch "fix/injector-image-server-argv"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
docmost and my-home-assistant rendered their secrets but never picked them up: wrapCommand consulted only
server.entrypointfor non-package servers, so with it unset the wrapper was skipped and the container ran its normal command, never sourcing the file. Silent by construction — the agent succeeds, the file exists, the server just starts with empty credentials.An explicit
commandon an image server is already a complete command line and should be wrapped verbatim. Now branches on the three real shapes. Seven tests; reintroducing the old logic fails two.entrypoint