feat(tailscale): add common flags as fields (#3741)

* feat(tailscale): add common flags as fields

* Update charts/stable/tailscale/templates/_configmap.tpl

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* Update charts/stable/tailscale/docs/How-To-Guide.md

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* change to ClusterIP

* set hostnetwork

* remove service altogether

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Stavros Kois
2022-09-14 17:25:36 +03:00
committed by GitHub
parent 81fe7905fa
commit 4a23ef004a
5 changed files with 66 additions and 70 deletions
+4 -8
View File
@@ -42,17 +42,13 @@ Leave defaults here.
- `Accept DNS`: Enabling it will pass your Global Nameservers from Tailscale to your local install.
- `Routes`: Change to the routes you wish Tailscale to have access to on the devices it's connected, such as my LAN in the example.
- `Extra Args` passes arguments/flags to the `tailscale up` command.
Common flags/arguments:
- `--advertise-exit-node`
This is used to pass traffic through tailscale like a private VPN.
- `--hostname=<name>`
You can specify a specific hostname for use inside Tailscale (see image below).
- `Hostname` You can specify a specific hostname for use inside Tailscale (see image below). (Passes `--hostname HOSTNAME` to `Extra args`)
- `Advertise as exit node` This is used to pass traffic through tailscale like a private VPN. (Passes `--advertise-exit-node` to `Extra args`)
For more Extra Args and their usage please check the [Tailscale Knowledge Base](https://tailscale.com/kb/1080/cli/#up)
since we consider these advanced features and these may/not be compatible with everyone's exact setup.
TODO: Update image with the new fields
![tailscale-step-3](img/How-To-Image-2.png)
**Hostname example**
@@ -66,7 +62,7 @@ The default ports are fine for this chart, you shouldn't need to port forward or
:::caution
In case you want to access their SMB shares or TrueNAS GUI via Tailscale.
You will have to ensure that `Host Networking` is enabled.
You will have to ensure that `Host Networking` is enabled and `Userspace` is disabled.
:::