Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embed (hidden) tailsql for debugging #1663

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

kradalby
Copy link
Collaborator

This PR embeds a tailsql instance inside headscale, it is not on by default, and not advertised.

It is intended for debug mode for now, and will allow the exposure of a tailsql playground for headcale database to join a tailnet. Currently, it can only join a tailscale.com tailnet, and for the time being, this is probably only useful to me.

This feature could be quite cool to extend in the future and have it join the headscale network, but I do not have any plan for that right now, and do not know whats needed to achieve that, it might be as simple as:

  1. programatically create an authkey for tsnet
  2. set the tsnet controlserver to localhost
  3. profit.

Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
@kradalby kradalby merged commit 55ca078 into juanfont:main Dec 20, 2023
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants