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>
32 lines
849 B
YAML
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
|