Our role
We served as designer and implementer on an engagement delivered through a consulting partner. The client's platform team owned IAM, DNS, certificates, and merge approval.
The challenge
The client's shared Helm library chart (a reusable Kubernetes deployment template) handled only one workload per release, so monorepo apps (a frontend, backend and sidecars in one repository) needed hand-written templates for every extra service. Layering services onto that chart also carried a security risk: services sharing a namespace would write to the same Kubernetes Secret. The monorepo starter template's pipeline was failing, and any fix had to leave the 31 services already on the existing chart unbroken.
What we did
- Built alongside the existing chart. A new multi-service library chart sits beside the old one, so none of the 31 services on it had to change.
- Added reusable build and deploy workflows in GitHub Actions, with each service's image tag written at deploy time and a lint check on changes to the shared workflows.
- Made the starter template deploy out of the box, with an in-cluster PostgreSQL database, a CI guard against leftover placeholders, and configurable app, namespace and release names.
- Added per-branch demo environments. Each demo branch deploys under its own name, and a cleanup workflow removes it when the branch is deleted, touching only what it created. A scheduled expiry workflow removes demo environments once they expire.
Results
- New multi-service chart and reusable workflows released alongside the existing ones, with the existing chart left unmodified.
- Starter template deploys cleanly, with all workloads ready and zero restarts.
- Two monorepo apps proven running side by side in one namespace with no naming collisions.
- Deleting a demo branch removes its demo environment automatically.
What the client kept
The multi-service Helm chart published to Amazon ECR; six reusable GitHub Actions workflows (build, deploy, pre-release gates, demo identity, demo cleanup and demo expiry); a starter template with user and developer guides; two demo repositories; and a handover to its developers.