Auto-approve container bridge subnet route for CI runners #27
No reviewers
Labels
No labels
IaC
admin
agent-containers
automation
blockchain
cleanup
data
documentation
hardware
hotfix
infrastructure
maintenance
metrics
ml
monitoring
networking
resilience
security
tailscale
trading
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midwitmoneymgmt/m3-infra!27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci-container-subnet-route"
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?
What
Enables the container bridge subnet (
10.121.25.0/24) as a Tailscale subnet route, allowing CI runners and other tailnet devices to reach containers directly.Fixes the
context deadline exceedederror in !26 where CI runners couldn't reach local Grafana at10.121.25.50:3000.Changes
acl.hujson:
10.121.25.0/24toautoApprovers.routesfortag:m3incus.tf:
data.tailscale_device.m3_incus_osto look up the IncusOS hosttailscale_device_subnet_routes.container_bridgeto approve10.121.25.0/24Device-side requirement
The Tailscale provider can only approve routes — the device must advertise them. Ensure the IncusOS host is configured to advertise:
Once advertised, the
autoApproversACL andtailscale_device_subnet_routesresource both ensure approval.Security
Only
tag:m3devices can advertise this route. Thetag:cigrant already allows CI to reachtag:m3on all ports — this just makes the container IPs routable.added 1 commit
d4656ad3- Add Tailscale subnet route approval for container bridgeCompare with previous version
changed the description
mentioned in commit
6e04469e93