Component ยท Shared or other
wso2cloud-deployment (GitOps source of truth)
CHOREO CLOUD Repository Other
What it is
wso2cloud-deployment is the GitOps source of truth for Choreo Cloud. GitOps means the desired state of the clusters is kept in Git and Flux applies it. All manifests live on main. Thin environment branches say which commit of main each cluster follows, and hold each environment's Terraform deployments.
Like a master blueprint kept in one cabinet, with each building site holding only a note that says which version of the blueprint to follow.
Why it exists
One reviewed repository makes every change to the platform visible, repeatable and reversible. A promotion is only moving a pointer.
How it works
- main holds the Kubernetes manifests, reusable Terraform modules (tagged vX.Y.Z), CloudFormation templates, runbooks and root-cause reviews.
- The dev branch tracks main directly. Stage and prod environments pin a commit of main, or a hotfix, through base.yaml.
- The environment branches are dev, stage, prod, stage-v2, prod-v2 and prod-v2-eu. The shared branch holds the central monitoring cluster.
- The CI/CD system, with its workflows and sensors, is also defined here.
Key facts
- Repository
- wso2-enterprise/wso2cloud-deployment
- Manifests
- Only on main
- Environment branches
- dev, stage, prod, stage-v2, prod-v2, prod-v2-eu
- Other branch
- shared (central monitoring)
- Terraform modules
- Tagged vX.Y.Z on main
- Runbooks and reviews
- docs/cr-runbooks and incidents/rcas
Talks to (2)
- sends telemetry to pr-check-pipeline PRs to main and env branches trigger pr-checkGitHub webhook
- sends telemetry to dev-deploy-pipeline triggers dev-sync sensorpush to main
Used by (2)
- needed by Choreo Cloud environment: dev dev tracks WD main liveFlux GitRepository branch main
- deployed by build-pipeline (build, scan, push, bump) Bump workload imagesgit commit to main