fix(tailscale): make vault auto-join work on the OOTB operator image #103
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix-tailscale-vault-autojoin-ootb"
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?
Follow-up to #102. The standalone
tailscale-auth-keyvault item is wired correctly, but the out-of-the-box path (no baked key) could not actually start the service. Four fixes:clawdie-tailscale-uprequired_files=<keyfile>—onestartenforces it and the keyfile is absent on the OOTB image. The start function already returns 0 when neither provider.env nor the keyfile carries a key.join-hivemdo -u root service clawdie_tailscale_up onestart— was plainstart(refused; service defaults toenable=NOwithout a baked key) and lacked root.join-hivesed ... provider.env/d— stray/don the file path made it error; the rc.d already strips the key on success.join-hivesh -cargv (was visible inps).Also keeps
provider.envat0600after the rc.d rewrite (it still holds theBW_*creds).Validation:
sh -non both scripts,./scripts/check-format.shclean.Needs a hardware boot check (Tailscale + secrets path) before merge.
🤖 Generated with Claude Code