Kubernetes manifests for deploying Tailscale golink: a shortlink service for your tailnet. Created because I couldn't find good existing Kubernetes deployment examples. I'm not affiliated with tailscale in any capacity, just a fan of their product.
-
Edit the secret manifest with your Tailscale auth key:
- Edit manifests/secret.yaml and replace the placeholder with your actual auth key, configured here.
- You may want to create and assign a tag to your auth key to prevent it from expiring.
-
Deploy everything:
kubectl apply -f manifests/
Once deployed, access your golink service at: go/
manifests/namespace.yaml: Namespace for Kubernetes resourcesmanifests/pvc.yaml: Persistent storage for databasemanifests/secret.yaml: Template for auth key (fill in your key)manifests/deployment.yaml: Main golink deployment
Also available as a Helm chart for easier configuration and deployment:
# Install using Helm
helm install golink ./charts/golink/ \
--set tailscale.authKey=tskey-auth-your-key-here- I haven't found a good way to prevent Safari from interpreting go/ URLs as search terms for a search engine. To start, you may need to prefix each go link URL with
http(s)://. Eventually, once the page is in your browsing history, Safari should give that priority over using it as search terms. - I did get cert errors in each browser the first time I browsed to the go/ URL using https://, but after the first time they disappeared.
- This works for my personal and home-lab use. YMMV for production use.