Repository navigation
Tailscale sidecar: userspace SOCKS5 and localhost HA proxy (#74) - #76
Draft
NinjaLikesCheez wants to merge 3 commits into
Draft
NinjaLikesCheez wants to merge 3 commits into
NinjaLikesCheez wants to merge 3 commits into
Conversation
Userspace SOCKS5 plus a localhost ha-proxy, Pixel URL 127.0.0.1:8123 when enabled. Clear ACA's Kubernetes env so containerboot starts. Drop --accept-routes. Leave tailscale_enabled off in example tfvars.
This was referenced Oct 10, 2026
Operator-facing Added/Changed for the mesh HA path. Required after the Keep a Changelog gate (#78).
This was referenced Oct 10, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the optional Tailscale sidecar on Azure Container Apps actually able to reach Home Assistant. Does not turn it on in live
dev(example tfvars staytailscale_enabled = false). Rollback is still “leave it off” or set it false in gitignored tfvars.Closes nothing yet — #74 is done in Terraform; flipping the mesh on is an operator apply after Key Vault
tailscale-auth-keyexists.What changed
TS_USERSPACE, SOCKS5127.0.0.1:1055,KUBERNETES_SERVICE_HOST=""/TS_KUBE_SECRET=""(ACAcontainerbootworkaround),--advertise-tags=tag:pixel-<env>, no--accept-routes,TS_ACCEPT_DNS=false.ha-proxycontainer (pinned socat) on the same replica:127.0.0.1:8123→ SOCKS5 →home_assistant_mesh_host:8123.tailscale_enabled, Pixel’sHOME_ASSISTANT_URLis forced tohttp://127.0.0.1:8123. Cannot also sethome_assistant_url(no Nabu Casa fallback)./healthz+/readyzon Discord only. No ACA probe on Tailscale.min=max=1). Extra containers, not extra replicas.docs/infra.md(wait for Thomas).No application code change — HA still fail-closed in
HomeAssistantBackend. No new Node tests.Operator enable (after merge, not this PR)
Gitignored
terraform.tfvarsonly:Rollback
tailscale_enabled = false, restorehome_assistant_urlif you still want Nabu Casa, apply. Discord never depended on the sidecar.Security / auth
Does not touch
core/access*, identity, or the HA token rules. Mesh is transport; the non-admin HA token anddevices.yamlstay the fence. Tailnet ACL (tcp:8123only) is still a Tailscale admin step, not Terraform. Dev must not be granted prod doors.