What is active
Git as the single source of truth
The entire MKA1 platform is defined as a single Helm chart (mka1-platform) stored in the infra-resources Git repository.
No change reaches a cluster without first being committed and reviewed via pull request.
- Helm chart and values files define every workload, service, secret template, HPA, and PDB for the platform.
- Environment-specific overrides separate staging and production configuration while sharing the same chart definition.
- Encrypted secrets are managed with SOPS and committed alongside the chart, ensuring that even sensitive configuration is tracked in Git history.
Atomic Helm deploys
Helm releases are executed with the--atomic flag, which wraps the entire upgrade in a transaction.
If any resource in the release fails its readiness check, Helm automatically rolls the entire release back to the previous known-good revision.
--atomic— If the upgrade fails at any point, Helm deletes the new resources and restores the previous release. The cluster never stays in a partially deployed state.--wait— Helm waits for all Pods, Services, and other resources to report ready before marking the release as successful.--timeout 15m— A configurable ceiling prevents deployments from hanging indefinitely. If readiness is not achieved within the window, the release is treated as failed and rolled back.
Automated reconciliation via CI/CD
GitHub Actions workflows trigger automatically on every push tomain that modifies infrastructure paths.
The pipeline authenticates with AWS, configures kubectl for the target EKS cluster, and applies the Git-defined desired state:
- A developer merges a pull request into
main. - GitHub Actions detects the change and triggers the deployment workflow.
- The workflow checks out the repository at the merged commit SHA.
helm upgrade --install --atomicreconciles the cluster to match the desired state defined in Git.- If the desired state cannot be reached, the atomic rollback guarantees the cluster remains on the last successful revision.
Immutable deployment history
Every Helm release creates a versioned revision stored in the cluster. This provides a complete audit trail of what was deployed, when, and from which Git commit.How we validate it
We validate the GitOps workflow by inspecting the deployed Helm release state and confirming it matches the Git-defined configuration.main triggers a full reconciliation cycle.
If the cluster state drifts from the Git-defined desired state, the next pipeline run corrects it.