Also routes the whole subnet of the cluster over tailscale so it can act as an entry point to my home network even when not at home.
8 lines
271 B
YAML
8 lines
271 B
YAML
apiVersion: v1alpha1
|
|
kind: ExtensionServiceConfig
|
|
name: tailscale
|
|
environment:
|
|
- TS_AUTHKEY={{ config.tailscale.authKey }}
|
|
- TS_EXTRA_ARGS=--login-server {{ config.tailscale.loginServer }}
|
|
- TS_ROUTES={{ helper.tailscale_subnet(node.gateway, node.netmask) }}
|