mirror of
https://github.com/ghndrx/k8s-game-2048.git
synced 2026-02-10 14:54:59 +00:00
feat: Complete PII cleanup and fully automatic pipeline
🧹 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
This commit is contained in:
@@ -46,9 +46,9 @@ We use a GitFlow-inspired workflow:
|
||||
|
||||
| Environment | Branch | Domain | Auto-Deploy |
|
||||
|-------------|--------|---------|------------|
|
||||
| Development | `develop` | `2048-dev.wa.darknex.us` | ✅ |
|
||||
| Staging | `staging` | `2048-staging.wa.darknex.us` | ✅ |
|
||||
| Production | `master` | `2048.wa.darknex.us` | ✅ |
|
||||
| Development | `develop` | `${DEV_DOMAIN}` | ✅ |
|
||||
| Staging | `staging` | `${STAGING_DOMAIN}` | ✅ |
|
||||
| Production | `master` | `${PROD_DOMAIN}` | ✅ |
|
||||
|
||||
## Making Changes
|
||||
|
||||
@@ -113,7 +113,7 @@ kubectl apply -f manifests/dev/
|
||||
kubectl get ksvc -n game-2048-dev
|
||||
|
||||
# Test the deployed service
|
||||
curl -f https://2048-dev.wa.darknex.us/
|
||||
curl -f https://${DEV_DOMAIN}/
|
||||
```
|
||||
|
||||
## Code Style
|
||||
|
||||
Reference in New Issue
Block a user