1
0
mirror of https://github.com/juanfont/headscale.git synced 2026-02-23 13:50:36 +01:00
juanfont.headscale/.github
Kristoffer Dalby 248d240186 node: implement disable key expiry via CLI and API
Add --disable flag to "headscale nodes expire" CLI command and
disable_expiry field handling in the gRPC API to allow disabling
key expiry for nodes. When disabled, the node's expiry is set to
NULL and IsExpired() returns false.

The CLI follows the new grpcRunE/RunE/printOutput patterns
introduced in the recent CLI refactor.

Also fix NodeSetExpiry to persist directly to the database instead
of going through persistNodeToDB which omits the expiry field.

Fixes #2681

Co-authored-by: Marco Santos <me@marcopsantos.com>
2026-02-20 10:58:49 +00:00
..
ISSUE_TEMPLATE github: update issue template contact links 2026-02-09 09:51:28 +01:00
label-response github: add support-request automation workflow 2026-02-09 09:51:28 +01:00
workflows node: implement disable key expiry via CLI and API 2026-02-20 10:58:49 +00:00
CODEOWNERS add nblock to doc owners (#2207) 2024-11-04 10:12:50 -06:00
FUNDING.yml Add ko-fi sponsor button 2022-12-22 17:25:49 +01:00
pull_request_template.md Add contributing document 2024-04-29 23:04:02 +02:00
renovate.json update readme and templates to clarify scope (#1437) 2023-05-10 08:03:13 +01:00