feat(manage): vpn status shows each node's ACL tags #278
Loading…
Reference in a new issue
No description provided.
Delete branch "jfraeys/feat/vpn-status-tags"
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?
`manage vpn status` now has a TAGS column (`forced_tags` + `valid_tags`, `-` when none), so after the `tag:ci` rollout (#274) a CI runner shows `tag:ci` (and a VM that joined with the old key shows `tag:web`) without a raw `headscale` command. Node count and other columns unchanged.
Test: `scripts/tests/test-vpn-status.sh` (stubbed Headscale, in lint): forced and valid tags, the dash for no tags without shifting columns, and the count. `test-vpn-revoke.sh` and the manage-bundle test still pass. The on-host copy changes only after `--tags manage_cli`; your Mac picks it up on `git pull`.
The `forced_tags`/`valid_tags` field names are Headscale's JSON; I could not read the live JSON, so the first real `./manage vpn status` is the check: if the TAGS column is empty for a node you know has a tag, paste one node's keys (not values) from `headscale nodes list --output json` and I'll adjust.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ