mirror of
https://github.com/ghndrx/k8s-game-2048.git
synced 2026-02-10 06:45:07 +00:00
🧹 PII Cleanup & Security: - Remove all hardcoded domains (darknex.us, hndrx.co) - Remove all hardcoded emails (admin@ references) - Replace all personal info with environment variables - Repository now 100% generic and reusable 🚀 Fully Automatic Pipeline: - Pipeline now runs automatically develop → staging → production - No manual intervention required for production promotions - Auto-promotion triggers after successful tests - All workflows use commit-specific image tags 🔧 Environment Variables: - All manifests use ${VARIABLE_NAME} syntax - All scripts source from .env file - GitHub Actions use secrets for sensitive data - Complete .env.example template provided 📚 Documentation: - New comprehensive WORKFLOWS.md with pipeline details - New PIPELINE_QUICK_REFERENCE.md for quick reference - Updated all docs to use generic placeholders - Added security/privacy section to README 🔐 Security Enhancements: - Updated .gitignore for all sensitive files - Created PII verification script (verify-pii-removal.sh) - Created cleanup automation script (cleanup-pii.sh) - Repository verified PII-free and production-ready BREAKING: Repository now requires .env configuration - Copy .env.example to .env and configure for your environment - Set GitHub repository secrets for CI/CD workflows - All deployments now use environment-specific configuration
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Webhook-based Deployment Configuration
|
|
# Copy this to .env and customize for your environment
|
|
|
|
# Webhook Security
|
|
WEBHOOK_SECRET=your-webhook-secret-here
|
|
|
|
# Your Domain Configuration
|
|
BASE_DOMAIN=your-domain.com
|
|
WEBHOOK_DOMAIN=webhook.your-domain.com
|
|
KNATIVE_DOMAIN=your-domain.com
|
|
|
|
# Application Domains
|
|
DEV_DOMAIN=2048-dev.your-domain.com
|
|
STAGING_DOMAIN=2048-staging.your-domain.com
|
|
PROD_DOMAIN=2048.your-domain.com
|
|
|
|
# Canonical Knative Domains (auto-generated by Knative)
|
|
DEV_CANONICAL_DOMAIN=game-2048-dev.game-2048-dev.dev.your-domain.com
|
|
STAGING_CANONICAL_DOMAIN=game-2048-staging.game-2048-staging.staging.your-domain.com
|
|
PROD_CANONICAL_DOMAIN=game-2048-prod.game-2048-prod.your-domain.com
|
|
|
|
# Paths and Configuration
|
|
MANIFESTS_PATH=/home/administrator/k8s-game-2048/manifests
|
|
KUBECONFIG_PATH=/etc/rancher/k3s/k3s.yaml
|
|
|
|
# Deployment Options
|
|
DEPLOY_INGRESS=true
|
|
WEBHOOK_REPLICAS=1
|
|
|
|
# GitHub Repository (for container registry)
|
|
GITHUB_REPOSITORY=your-username/k8s-game-2048
|
|
CONTAINER_REGISTRY=ghcr.io
|
|
|
|
# Email for SSL certificates
|
|
CERT_EMAIL=your-email@your-domain.com
|