Flow
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):

  1. GetSecrets — decrypt SOPS secrets on the macOS agent
  2. PrepareDockerImage — build from repo root using services/template/Dockerfile
  3. PushHelmPackagehelm upgrade --install for each chart

One image, two releases

Helm releaseBinaryChart
template-api/service (default)k8s/
template-flowstate/flowstatek8s-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.

On this page