[PR #2280] [CLOSED] feat: allow setting node registration expiration via config #2583

Closed
opened 2025-12-29 03:21:55 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2280
Author: @chriswiggins
Created: 12/11/2024
Status: Closed

Base: mainHead: feat/configurable-registration-cache


📝 Commits (1)

  • 7518eba feat: allow setting node registration expiration via config

📊 Changes

4 files changed (+15 additions, -7 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 hscontrol/app.go (+3 -5)
📝 hscontrol/oidc.go (+3 -2)
📝 hscontrol/types/config.go (+8 -0)

📄 Description

I haven't done any unit / integration tests yet as I'd like to be pointed in the right direction with where it should be.

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Fixes #2277


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2280 **Author:** [@chriswiggins](https://github.com/chriswiggins) **Created:** 12/11/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/configurable-registration-cache` --- ### 📝 Commits (1) - [`7518eba`](https://github.com/juanfont/headscale/commit/7518eba82e3e2b9641ef2cf56d76fb86322c5e12) feat: allow setting node registration expiration via config ### 📊 Changes **4 files changed** (+15 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `hscontrol/app.go` (+3 -5) 📝 `hscontrol/oidc.go` (+3 -2) 📝 `hscontrol/types/config.go` (+8 -0) </details> ### 📄 Description <!-- Headscale is "Open Source, acknowledged contribution", this means that any contribution will have to be discussed with the Maintainers before being submitted. This model has been chosen to reduce the risk of burnout by limiting the maintenance overhead of reviewing and validating third-party code. Headscale is open to code contributions for bug fixes without discussion. If you find mistakes in the documentation, please submit a fix to the documentation. --> I haven't done any unit / integration tests yet as I'd like to be pointed in the right direction with where it should be. <!-- Please tick if the following things apply. You… --> - [x] have read the [CONTRIBUTING.md](./CONTRIBUTING.md) file - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [x] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> Fixes #2277 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:21:55 +01:00
adam closed this issue 2025-12-29 03:21:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2583