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]>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
## 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
|