tailscale-relay
by mvisonneau
Helm chartv0.2.7App v1.68.1
Deploy a tailscale relay on top of kubernetes
About this chart
tailscale-relay
Deploy a tailscale relay on top of kubernetes
Homepage: https://github.com/mvisonneau/tailscale-relay-over-k8s
Maintainers
| Name | Url | |
|---|---|---|
| mvisonneau | [email protected] |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| annotations | object | {} | Additional annotations to add to all resources |
| config.authKey | string | "foo" | |
| config.variables | object | {} | |
| dnsPolicy | string | "ClusterFirst" | |
| hostAliases | object | {} | allows you to configure custom host aliases |
| hostNetwork | bool | false | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "docker.io/mvisonneau/tailscale" | |
| labels | object | {} | Additional labels to add to all resources |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | Additional annotations for the pods |
| podLabels | object | {} | Additional labels for the pods |
| rbac | object | {"create":true,"serviceAccount":{"name":"tailscale-relay"},"stateSecretName":"tailscale-relay-state"} | If your kubernetes cluster defined the pod security policy, then you need to enable this part, and define clusterRole based on your situation. |
| rbac.serviceAccount | object | {"name":"tailscale-relay"} | default name of serviceAccount is "default" if you don't define the name by yourself |
| rbac.stateSecretName | string | "tailscale-relay-state" | name of the secret in which tailscaled will store its state |
| replicas | int | 1 | |
| resources | object | {} | |
| securityContext.capabilities.add[0] | string | "NET_ADMIN" | |
| tolerations | list | [] |
Deploy tailscale-relay with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tailscale-relay on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charttailscale-relay is pinned at v0.2.7 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply