homelab-k3s/apps/unified-streaming/secret.example.yaml
jasonwitty 8afac39d03 Import manifests reverse-engineered from live cluster
Captured 2026-07-26 from rpi-master (k3s v1.30.3) and cleaned of runtime
fields. Six apps as per-app kustomizations: vaultwarden, searxng,
home-assistant, nginx, pihole(+unbound), unified-streaming.

Intentional divergences from live state:
- pihole WEBPASSWORD and USP_LICENSE_KEY moved from inline plaintext env
  to secretKeyRef (secrets gitignored; templates in secret.example.yaml)
- HA ingress defaultBackend fixed (pointed at nonexistent service)
- unifiedstreaming-svc kept as ClusterIP (LoadBalancer could never bind
  port 80 behind svclb-traefik)

Validated against the live cluster with kubectl apply --dry-run=server:
no immutable-field conflicts; one-time kubectl replace procedure for the
two env->secretKeyRef migrations documented in README.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-26 02:13:56 -07:00

17 lines
631 B
YAML

# Copy to secret.yaml (gitignored), paste the real USP license key, apply once:
# kubectl apply -f secret.yaml
# Or create directly:
# kubectl create secret generic usp-license -n unified-streaming \
# --from-literal=USP_LICENSE_KEY='<base64-looking license blob>'
# The current key can be read from the live deployment:
# kubectl get deploy -n unified-streaming unifiedstreaming \
# -o jsonpath='{.spec.template.spec.containers[0].env[?(@.name=="USP_LICENSE_KEY")].value}'
apiVersion: v1
kind: Secret
metadata:
name: usp-license
namespace: unified-streaming
type: Opaque
stringData:
USP_LICENSE_KEY: CHANGE-ME