Files
Homelabv4/infrastructure/netbird/manifests/api-token-external-secret.yaml
T
2026-03-09 20:21:35 -05:00

22 lines
525 B
YAML

# ExternalSecret for Netbird API token (used by API exporter)
# Token is stored in Vault by scripts/setup-netbird-api-token.sh
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: netbird-api-token
namespace: netbird
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: vault-backend
target:
name: netbird-api-token-secret
creationPolicy: Owner
data:
- secretKey: api-token
remoteRef:
key: netbird-api-token
property: api-token