# Plausible secrets — values must be filled before apply. # Generate SECRET_KEY_BASE: openssl rand -hex 64 # Generate TOTP_VAULT_KEY: openssl rand -base64 32 # # Store the actual values in the adapter env vars (never commit real secrets). # Apply with: # kubectl create secret generic plausible-env \ # --from-literal=SECRET_KEY_BASE="$(openssl rand -hex 64)" \ # --from-literal=TOTP_VAULT_KEY="$(openssl rand -base64 32)" \ # -n analytics --dry-run=client -o yaml | kubectl apply -f - # # This placeholder file is for documentation; the real secret is created # out-of-band and is not stored in git. apiVersion: v1 kind: Secret metadata: name: plausible-env namespace: analytics type: Opaque stringData: SECRET_KEY_BASE: REPLACE_WITH_OUTPUT_OF_openssl_rand_hex_64 TOTP_VAULT_KEY: REPLACE_WITH_OUTPUT_OF_openssl_rand_base64_32