cloud-cluster: clean Headscale nodes on deletion #43
Conversation
|
@claude review |
|
Claude finished @samcday's task in 2m 27s —— View job PR Review: cloud-cluster: clean Headscale nodes on deletion
Overall: This is a solid implementation of a finalizer-based cleanup pattern for Headscale nodes. The shell script logic is well-structured, the RBAC is appropriately scoped, and the shell-operator approach fits cleanly into the existing patterns in the repo. A few things worth looking at below. Dockerfile
The multi-stage build copying the headscale-node-cleaner.yaml — Shell Script
The headscale CLI config sets Extra Headscale API call when no nodes found In if [[ ${#ids[@]} -eq 0 ]]; then
echo "node $node_name: no matching Headscale node found"
return 0
fi
This field is required by the headscale config schema but unused in CLI mode. The current value is fine as a placeholder but
The RBAC looks correct. The ClusterRole scopes to Kubernetes DeploymentThe
Flux / Image automationThe additions to Summary
|
No description provided.