Add Tailscale subnet router chart

Userspace-mode subnet router advertising only the node (192.168.2.218/32).
Auth key comes from OpenBao via ESO; node state is kept in a Kubernetes
Secret so the identity survives restarts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-06 18:49:53 +02:00
co-authored by Claude Opus 5.5
commit a33c855c97
6 changed files with 220 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
## Values for the tailscale chart (subnet router).
namespace: tailscale
image: ghcr.io/tailscale/tailscale:v1.102.5
# Device name in the Tailscale admin console.
hostname: loki-k8s
# Routes advertised to the tailnet. Only the node itself (ingress NodePorts such as
# :30444, Valheim NodePorts, ...) - not the whole home LAN. Must be approved once in
# the admin console (Machines -> loki-k8s -> Edit route settings).
routes:
- 192.168.2.218/32
# Extra `tailscale up` flags, e.g. "--advertise-tags=tag:k8s" (tag must exist in the ACL).
extraArgs: ""
# Auth key from OpenBao (via the openbao ClusterSecretStore). Only needed for the very
# first login: afterwards the node identity lives in the Kubernetes Secret `stateSecret`.
authKey:
storeKind: ClusterSecretStore
storeName: openbao
remoteKey: tailscale
property: authkey
refreshInterval: 1h
# Kubernetes Secret where tailscaled keeps its state (node key, login). Created by the pod.
stateSecret: tailscale-state
resources:
requests:
cpu: 20m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi