ServicesTemplate Service
Operations
Azure Pipelines, Helm, and deployment for the template service.
The template service has a full .azure/ deployment package — the pattern later services should
copy once they need AKS.
Pipeline
services/template/.azure/azure-pipelines.yml triggers on develop / master
changes under services/template.
Stages (via services/template/.azure/build-deploy-goapp-template.yml):
- GetSecrets — decrypt SOPS secrets on the macOS agent
- PrepareDockerImage — build from repo root using services/template/Dockerfile
- PushHelmPackage —
helm upgrade --installfor each chart
One image, two releases
| Helm release | Binary | Chart |
|---|---|---|
template-api | /service (default) | k8s/ |
template-flowstate | /flowstate | k8s-flowstate/ |
Dev API ingress: dev-template.apps-and-services.com (see
services/template/.azure/k8s/values/api.dev.yaml).
Migrations
Helm pre-upgrade Job runs the API binary with -migrate. Secrets arrive as a ConfigMap at deploy
time — never baked into the image.
Env layout: services/template/.azure/env/readme.md.
Accounting
The accounting service has no .azure/ package yet. It runs locally and in CI only.