register-as-service forces https
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- go, kubernetes
- Domain
- backend, infrastructure
Research direction
Trace the register-as-service startup path and how it handles the https setting when a service name is configured. Verify the behavior with https=false in service mode; done means the service starts without forcing HTTPS and supports the intended short-form HTTP URLs.
Written by the indexing model from the issue text.
Description
Hi all,
I've been running a single pod golink instance for a few years without problems.
I'm trying to switch over to using a service for a k8s deployment of golink, since that makes things a bit cleaner (better rollouts, less worries about pod starting and getting the right tailnet name)
To allow fully short form URLs I've been running golink as a plain http service. This allow URLs of the form http://go/things, so a user can just go/things.
Unfortunately, once you set the service name golink insists on starting as https, when running as https you have to use the fully qualified name for the certificate to work (the process logs invalid domain on getting an unqualified domain).
It looks fairly easy to respect https=false for the service case, but perhaps there's a reason it was not permitted originally?
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 145
- Avg merge
- 9m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tailscale/golink
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in tailscale/golink
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100