blumeops/argocd/manifests/tailscale-operator-ringtail/external-secret.yaml
Erich Blume d6c1806e39 Deploy Tailscale operator on ringtail k3s cluster
Extract shared operator resources (CRDs, RBAC, Deployment, ProxyClass,
DNSConfig) into tailscale-operator-base/ so both indri and ringtail
reference the same base without duplication. Ringtail overlay adds a
1-replica ProxyGroup and ExternalSecret for the shared OAuth client.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 09:18:43 -08:00

32 lines
849 B
YAML

---
# ExternalSecret for Tailscale Operator OAuth credentials
#
# Shares the same 1Password item as indri's operator (same OAuth client).
# Multiple operator instances can share one OAuth client; each registers
# as its own device.
#
# 1Password item: "Tailscale K8s Operator OAuth" in blumeops vault
# Fields: "client-id", "client-secret"
#
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: operator-oauth
namespace: tailscale
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-blumeops
target:
name: operator-oauth
creationPolicy: Owner
data:
- secretKey: client_id
remoteRef:
key: Tailscale K8s Operator OAuth
property: client-id
- secretKey: client_secret
remoteRef:
key: Tailscale K8s Operator OAuth
property: client-secret