Files
metal/talos/patches/networking/tailscale.yaml
T
Dreaded_X 5298f6280e feat: Rewrote render tool in rust
This also came with a big rework of the configuration format that should
make everything a bit less hacky to work with.
2026-04-22 05:27:09 +02:00

9 lines
621 B
YAML

# yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.11/website/content/v1.11/schemas/config.schema.json
apiVersion: v1alpha1
kind: ExtensionServiceConfig
name: tailscale
environment:
- TS_AUTHKEY={{ node.network.tailscale.authKey }}
- TS_EXTRA_ARGS={% if node.network.tailscale.server %}--login-server {{ node.network.tailscale.server }} {% endif %}--advertise-tags=tag:cluster-{{ cluster.name }}
- TS_ROUTES={% if node.network.tailscale.advertiseRoutes %}{{apply_netmask(node.network.ip, node.network.netmask)}}/{{ node.network.netmask | to_prefix }}{% endif %}