Files
tailscale-gitops/templates/externalsecret.yaml
T
SmokyZoneandClaude Opus 5.5 a33c855c97 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]>
2026-10-06 18:49:53 +02:00

21 lines
547 B
YAML

apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: tailscale-auth
namespace: {{ .Values.namespace }}
labels:
app.kubernetes.io/name: tailscale
spec:
refreshInterval: {{ .Values.authKey.refreshInterval }}
secretStoreRef:
kind: {{ .Values.authKey.storeKind }}
name: {{ .Values.authKey.storeName }}
target:
name: tailscale-auth
creationPolicy: Owner
data:
- secretKey: TS_AUTHKEY
remoteRef:
key: {{ .Values.authKey.remoteKey }}
property: {{ .Values.authKey.property }}