staging is a production-like environment used for QA validation before promoting changes to master.
- Frontend:
https://staging.stellarinsure.example.com - Backend API:
https://api.staging.stellarinsure.example.com
- Pushes to
release/**trigger.github/workflows/staging-deploy.yml. - The workflow applies
k8s/overlays/staging. - A seed step runs
python -m src.seed_stagingwhen staging DB secrets are configured.
STAGING_KUBECONFIGSTAGING_DATABASE_URLSTAGING_JWT_SECRET_KEYSTAGING_WEBHOOK_SECRET_KEYSTAGING_STORAGE_SECRET_KEY
Use backend/.env.staging.example as the baseline. Key staging behaviors:
ENVIRONMENT=staging- Staging-specific CORS and base URLs
- Feature flags enabled for pre-production testing:
FEATURE_FLAG_ORACLE_V2=trueFEATURE_FLAG_CLAIM_AUTO_APPROVAL=trueFEATURE_FLAG_POOL_REBALANCING=true
The staging seed script adds deterministic sample users and an active sample policy for QA smoke tests.