[PR #29] [MERGED] Add support for ephemeral nodes via a special type of pre-auth key. #1212

Closed
opened 2025-12-29 02:29:14 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/29
Author: @cure
Created: 5/23/2021
Status: Merged
Merged: 5/23/2021
Merged by: @juanfont

Base: mainHead: add-ephemeral-node-support


📝 Commits (1)

  • 41f6740 Add support for ephemeral nodes via a special type of pre-auth key. Add

📊 Changes

17 files changed (+151 additions, -38 deletions)

View changed files

📝 README.md (+8 -1)
📝 api.go (+11 -6)
📝 app.go (+54 -7)
📝 cmd/headscale/cli/nodes.go (+2 -2)
📝 cmd/headscale/cli/preauthkeys.go (+4 -2)
📝 cmd/headscale/cli/server.go (+1 -0)
📝 cmd/headscale/cli/utils.go (+11 -0)
📝 cmd/headscale/headscale.go (+1 -0)
📝 config.json.postgres.example (+1 -0)
📝 config.json.sqlite.example (+1 -0)
📝 machine.go (+1 -1)
📝 machine_test.go (+1 -3)
📝 namespaces.go (+1 -1)
📝 namespaces_test.go (+1 -3)
📝 preauth_keys.go (+4 -2)
📝 preauth_keys_test.go (+48 -7)
📝 routes_test.go (+1 -3)

📄 Description

Also add some tests for that feature.

Other fixes: clean up a few typos in comments. Fix a bug that caused the tests to run four times each. Be more consistent in the use of log rather than fmt to print errors and notices.


🔄 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/29 **Author:** [@cure](https://github.com/cure) **Created:** 5/23/2021 **Status:** ✅ Merged **Merged:** 5/23/2021 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `add-ephemeral-node-support` --- ### 📝 Commits (1) - [`41f6740`](https://github.com/juanfont/headscale/commit/41f6740ddd1b9cf1bb0c467196526377775168aa) Add support for ephemeral nodes via a special type of pre-auth key. Add ### 📊 Changes **17 files changed** (+151 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+8 -1) 📝 `api.go` (+11 -6) 📝 `app.go` (+54 -7) 📝 `cmd/headscale/cli/nodes.go` (+2 -2) 📝 `cmd/headscale/cli/preauthkeys.go` (+4 -2) 📝 `cmd/headscale/cli/server.go` (+1 -0) 📝 `cmd/headscale/cli/utils.go` (+11 -0) 📝 `cmd/headscale/headscale.go` (+1 -0) 📝 `config.json.postgres.example` (+1 -0) 📝 `config.json.sqlite.example` (+1 -0) 📝 `machine.go` (+1 -1) 📝 `machine_test.go` (+1 -3) 📝 `namespaces.go` (+1 -1) 📝 `namespaces_test.go` (+1 -3) 📝 `preauth_keys.go` (+4 -2) 📝 `preauth_keys_test.go` (+48 -7) 📝 `routes_test.go` (+1 -3) </details> ### 📄 Description Also add some tests for that feature. Other fixes: clean up a few typos in comments. Fix a bug that caused the tests to run four times each. Be more consistent in the use of log rather than fmt to print errors and notices. --- <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 02:29:14 +01:00
adam closed this issue 2025-12-29 02:29:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1212