1
0
mirror of https://github.com/lukevella/rallly-selfhosted.git synced 2025-12-10 02:42:49 +01:00

25 lines
919 B
YAML

# kubernetes/secrets.yaml
# WARNING: This file uses 'stringData' for demonstration.
# For production, DO NOT commit this file to Git.
# Use SealedSecrets, ExternalSecrets, or manually create the secret on the cluster.
apiVersion: v1
kind: Secret
metadata:
name: rallly-secrets
namespace: default
type: Opaque
stringData:
# Database Connection String (postgres://user:password@service:port/db_name)
# IMPORTANT: The username/password here MUST match POSTGRES_USER/POSTGRES_PASSWORD below.
DATABASE_URL: "postgres://rallly:CHANGE_ME_PASSWORD@postgres:5432/rallly"
# Random string for session encryption (generate with 'openssl rand -hex 32')
SECRET_PASSWORD: "CHANGE_ME_TO_A_LONG_RANDOM_STRING"
# The email of the first admin user
INITIAL_ADMIN_EMAIL: "admin@example.com"
# Database Credentials (used by the postgres StatefulSet)
POSTGRES_USER: "rallly"
POSTGRES_PASSWORD: "CHANGE_ME_PASSWORD"