Manages Tailscale ACLs via GitOps.
- Python 100%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| scripts | ||
| tests | ||
| .gitignore | ||
| policy.hujson | ||
| README.md | ||
Tailscale policy
Edit policy.hujson and its access tests. Branches and same-repository PRs run
validation; merging to main applies the policy automatically.
Local checks
python3 -m unittest discover -s tests -v
For live validation, install Go and Python and set the read-only
TS_TAILNET, TS_OAUTH_ID and TS_OAUTH_SECRET credentials:
python3 scripts/policy.py prepare
python3 scripts/policy.py test
CI and recovery
The workflow uses the infra runner, a stock Go
image and a cached official gitops-pusher. It lists the required secrets.
There are no custom image builds.
Deployment rejects console drift and outdated commits. Revert a policy commit to roll back. If someone edited the live policy manually, reconcile it with Git before deploying again.