Platform Golden Path Specification Template
Golden path spec: target users, stack, scaffolding, CI/CD, environments, observability and security defaults, Backstage catalog
How to use: Use it when a platform team offers a supported route for one kind of service. Define target users, scope and stack first and validate them with real teams. The main pitfall is a path that is mandatory in practice but has no clear deviation process.
Preview
Platform Golden Path: [Path name]
Specification of one supported, opinionated route for building and running a type of software on the internal platform: who it is for, what it covers, the chosen stack, the scaffolding template, CI/CD, environments, observability and security defaults, service catalogue registration, support, adoption metrics and how to deviate. The CNCF Platforms White Paper (v1.0, TAG App Delivery) names golden path templates and docs as one platform capability; this document specifies one such path and places it on the CNCF Platform Engineering Maturity Model (v1.0). The catalogue example uses the Backstage
catalog-info.yamldescriptor format. Replace every[bracketed]value and every row marked Example. Worked examples use a "Java HTTP service on Kubernetes" path at Corvid Commerce, a fictional SaaS company.
Document control
| Field | Value |
|---|---|
| Document ID | [PLT-GP-003] |
| Path name | [Java HTTP service on Kubernetes] |
| Path ID | [GP-003] |
| Version | [2.1] |
| Status | [Alpha / Beta / Generally available / Deprecated] |
| Owner (owning platform team) | [@platform-runtime] |
| Product manager | [@platform-pm] |
| Approvers / reviewers | [@platform-lead], [@security-lead], [@sre-lead], [service team representative] |
| Last updated | YYYY-MM-DD |
| Classification | [Internal] |
| Template repository | [git URL @ tag] |
| Developer portal entry | [Link] |
| Next review | YYYY-MM-DD (each quarter, and at every major template release) |
| Related | [architecture/internal-developer-platform-charter], [architecture/platform-maturity-assessment], [ops/observability-spec], [security/sbom-vex-policy] |
Approvals
| Role | Name | Decision | Date |
|---|---|---|---|
| Platform lead | [@name] | [Approved / Changes requested] | YYYY-MM-DD |
| Security lead | [@name] | [Decision] | YYYY-MM-DD |
| SRE lead | [@name] | [Decision] | YYYY-MM-DD |
| Service team representative | [@name] | [Decision] | YYYY-MM-DD |
Revision history
| Version | Date | Author | Change |
|---|---|---|---|
| 1.0 (Example) | YYYY-MM-DD | [@platform-pm] | Path generally available with template v1.0.0 |
| 2.0 (Example) | YYYY-MM-DD | [@platform-pm] | Image signing and provenance made a blocking gate; preview environments added |
| 2.1 (Example) | YYYY-MM-DD | [@platform-pm] | Redis module made optional; adoption targets reset after quarterly review |
Contents
1. Target users and problem
Target users: [Example: Stream-aligned teams building synchronous HTTP services in Java that store data in PostgreSQL.]
Problem today: [Example: Creating a production-ready service takes three to five weeks: teams copy an older service, re-create pipelines, request databases by ticket and wire monitoring by hand. Security findings repeat across services.]
Promise of the path: [Example: From empty repository to a service in production with monitoring, alerting and security scanning in under one day, without tickets.]
2. Path scope
| In scope | Out of scope |
|---|---|
| Example: New HTTP services and APIs | Batch jobs and stream processors (see GP-005) |
| Example: PostgreSQL and Redis | Other databases (deviation process) |
| Example: Deployment to [shared Kubernetes clusters] | Serverless functions |
| Example: Internal and public APIs behind the API gateway | Services needing PCI DSS scope (use GP-007) |
The flow below shows the developer journey the path covers.
3. Opinionated stack
| Layer | Choice | Version policy | Why |
|---|---|---|---|
| Language and runtime | Example: Java on Eclipse Temurin | Current LTS; upgrade within 6 months of new LTS | Organisation skill base |
| Framework | Example: Spring Boot | Supported release line | Mature, wide knowledge |
| Build | Example: Gradle with organisation plugin | Pinned in template | Shared conventions |
| Database | Example: Managed PostgreSQL | Platform-managed minor upgrades | Default relational store |
| Cache | Example: Managed Redis | Platform-managed | Optional module |
| API contract | Example: OpenAPI document in api/ | Linted with organisation ruleset | API-first review |
| Container base image | Example: Distroless Java image | Rebuilt weekly | Small attack surface |
| Runtime platform | Example: Kubernetes via Helm chart service-base | Chart version pinned | Shared operations |
| [Layer] | [Choice] | [Policy] | [Reason] |
4. Scaffolding template
Inputs requested: service name, owning team, tier (1 to 3), database yes or no, public or internal API, data classification.
Generated:
- repository with application skeleton, health endpoints, sample endpoint and tests;
- OpenAPI document and contract test setup;
- Dockerfile, Helm values per environment, pipeline definition;
catalog-info.yaml,README.md,docs/with runbook and ADR folder;- dashboards and alert rules as code;
- dependency update bot configuration.
Template lifecycle: changes to the template are released with versions; existing services receive upgrade pull requests from [tool].
5. CI/CD
| Stage | What runs | Blocking | Time budget |
|---|---|---|---|
| Build and unit test | Compile, unit tests, coverage report | Yes | 5 min |
| Static analysis | Linting, OpenAPI lint, SAST | Yes on high severity | 3 min |
| Dependency and image scan | SCA, container scan, licence check | Yes on critical | 3 min |
| SBOM and signing | SBOM generated, image signed, provenance attested | Yes | 1 min |
| Deploy to dev | Automatic on main | n/a | 5 min |
| Integration and contract tests | Against dev | Yes | 10 min |
| Promote to staging and production | Automatic for tier 3; one approval for tier 1 and 2 | Yes | 10 min |
Lead time target from merge to production: [under 60 minutes].
6. Environments
| Environment | Purpose | Data | Created | Access |
|---|---|---|---|---|
| Preview | Per pull request | Synthetic | Automatically, deleted on merge | Team |
| Dev | Integration | Synthetic | With service | Engineering |
| Staging | Release verification, load tests | Anonymised copy | With service | Engineering |
| Production | Live traffic | Real | With service | On-call and break-glass only |
7. Observability defaults
- Structured JSON logs with trace ID, shipped to [log platform], retained [30 days].
- OpenTelemetry tracing auto-instrumented; sampling [10%] plus all errors.
- Metrics: RED (rate, errors, duration) per endpoint, JVM and pool metrics.
- Dashboard per service generated from template.
- Default SLO for tier 1: availability 99.9% over 30 days, p95 latency under [300 ms]; burn-rate alerts route to the owning team.
The default error budget follows from the SLO: minutes per 30 days.
8. Security defaults
| Control | Default |
|---|---|
| Identity | Workload identity per service; no long-lived credentials |
| Secrets | Pulled from [secrets manager] at runtime; none in repository or images |
| Network | Deny-all network policy plus declared dependencies; mTLS in mesh |
| Ingress | Through API gateway with OAuth 2.0 token validation |
| Container | Non-root user, read-only file system, no privilege escalation |
| Dependencies | Automated update pull requests; critical CVEs fixed within [7 days] |
| Data | Encryption at rest and in transit; data classification label required |
9. Service catalogue registration
The scaffolding creates this descriptor at the repository root; the catalogue discovers it automatically.
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: order-history
description: Read API for customers' past orders
annotations:
github.com/project-slug: example-org/order-history
backstage.io/techdocs-ref: dir:.
tags:
- java
- golden-path-gp-003
spec:
type: service
lifecycle: production
owner: group:team-orders
system: ordering
providesApis:
- order-history-api
dependsOn:
- resource:order-history-db
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: order-history-api
spec:
type: openapi
lifecycle: production
owner: group:team-orders
system: ordering
definition:
$text: ./api/openapi.yaml
10. Support model
| Topic | Platform team | Service team |
|---|---|---|
| Template, pipeline, base chart | Owns and fixes | Applies upgrade pull requests within [30 days] |
| Cluster and managed databases | Operates, on call 24/7 | Uses within quotas |
| Application code and data | Advises | Owns, on call |
| Questions | #platform-help, answer within 4 working hours | n/a |
| Office hours | [Thursday 14:00] | Optional |
11. Adoption metrics
| Metric | Baseline | Target | Current |
|---|---|---|---|
| Time from template to first production deploy | 3 to 5 weeks | < 1 day | [Value] |
| Share of new services created from the path | 0% | 80% | [Value] |
| Services on the latest template version (within 30 days) | n/a | 90% | [Value] |
| Developer satisfaction with the path (survey, 1 to 5) | n/a | >= 4.0 | [Value] |
| Repeat security findings per service per quarter | 6 | < 1 | [Value] |
| Deviation requests per quarter | n/a | Tracked; trend reviewed | [Value] |
12. Deviation process
| Category | Examples | Who approves | Conditions |
|---|---|---|---|
| Free choice | Libraries inside the service, test frameworks | Nobody | Must pass pipeline gates |
| Recommended default | Database engine, framework | Team lead, recorded in ADR | Team accepts extra support responsibility |
| Enforced guardrail | Secrets handling, image signing, network policy | Security lead and platform lead | Time-limited exception with compensating control |
Deviation requests are filed in [platform intake] and reviewed weekly. Each approved deviation is recorded below and considered for the path roadmap.
| ID | Service | Deviation | Reason | Approved by | Expires |
|---|---|---|---|---|---|
| DEV-01 | Example: search-indexer | Uses OpenSearch instead of PostgreSQL | Full-text relevance needs | @team-lead (ADR-019) | n/a |
| [DEV-NN] | [Service] | [Deviation] | [Reason] | [@name] | YYYY-MM-DD |
13. Platform capability and maturity fit
The CNCF Platforms White Paper treats golden path templates and docs as one of the platform's capability domains. A path bundles other capabilities behind one entry point. Record which ones this path uses and how users reach them.
| Platform capability used (Example) | Provided by | Interface in this path |
|---|---|---|
| Golden path templates and docs | Platform team | Portal template "Java HTTP service" (section 4) |
| Web portals for provisioning and observing capabilities | Platform team | Developer portal entry and catalogue (section 9) |
| Automation for building and testing products | Platform team | Pipeline build, test and scan stages (section 5) |
| Automation for delivering and verifying services | Platform team | Deploy and promotion stages (section 5) |
| Development environments | Platform team | Preview environment per pull request (section 6) |
| Application observability | Platform team | Auto-instrumentation and dashboards as code (section 7) |
| Infrastructure services | Platform team | Shared Kubernetes clusters via the service-base chart |
| Data services | Platform team, managed cloud services | Managed PostgreSQL and Redis modules, declared without tickets |
| Identity and secret services | Security platform | Workload identity and secrets manager (section 8) |
| Artifact storage | Platform team | Container registry for signed images (section 5) |
Capability names follow the white paper as published; check the current version before relying on them.
The CNCF Platform Engineering Maturity Model (v1.0) describes five
aspects (investment, adoption, interfaces, operations and measurement)
across four levels: Provisional, Operationalized, Scalable and
Optimizing. Use it to state what this path contributes, not to rate the
whole platform (use architecture/platform-maturity-assessment for that).
| Aspect | Level this path supports (Example) | Evidence |
|---|---|---|
| Interfaces | Scalable: self-service through the portal, no tickets | Section 4 inputs; zero intake tickets for new services last quarter |
| Adoption | Intrinsic pull is the goal; currently mixed | Section 11: share of new services on the path |
| Operations | Centrally enabled: platform operates clusters and data services | Section 10 support split |
| Measurement | Consistent collection | Section 11 metrics reported each quarter |
| Investment | Dedicated team | Owning team named in Document control |
14. References
| Reference | Version or date | Used for |
|---|---|---|
| CNCF TAG App Delivery, Platforms White Paper, https://tag-app-delivery.cncf.io/whitepapers/platforms/ | v1.0, checked 2026-10-29 | Capability domains, golden path concept (section 13) |
| CNCF TAG App Delivery, Platform Engineering Maturity Model, https://tag-app-delivery.cncf.io/whitepapers/platform-eng-maturity-model/ | v1.0, checked 2026-10-29 | Aspects and levels (section 13) |
| Backstage software catalog descriptor format, https://backstage.io/docs/features/software-catalog/descriptor-format/ | backstage.io/v1alpha1, checked 2026-10-29 | Section 9 descriptor |
| OpenTelemetry, https://opentelemetry.io/docs/ | Current release | Section 7 tracing |
| [Template repository changelog] | [Tag] | Sections 3 to 9 |
Related templates in this collection:
architecture/internal-developer-platform-charter (platform charter),
architecture/platform-maturity-assessment (whole-platform assessment),
ops/observability-spec, ops/kubernetes-cluster-design,
ops/iac-module-specification, ops/error-budget-policy,
security/sbom-vex-policy, dev/developer-experience-survey and dev/adr.
Standard and licence note
Based on common platform engineering practice for golden paths (also
called paved roads). Section 13 refers to the Platforms White Paper (v1.0)
and the Platform Engineering Maturity Model (v1.0) of the CNCF Technical
Advisory Group for App Delivery, https://tag-app-delivery.cncf.io/,
© The CNCF Authors, licensed under Creative Commons Attribution 4.0
International (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/);
capability, aspect and level names are used with attribution and all
descriptions and examples are original. The catalogue descriptor example
follows the Backstage software catalog descriptor format
(backstage.io/v1alpha1, kinds Component and API) as documented at
https://backstage.io; Backstage is a CNCF project and no documentation
text is reproduced. Corvid Commerce is fictional. Check the current
official versions before use. All other text and examples are original
to this collection. Template licence: MIT.
Related templates
API Management Platform Design Template (OpenAPI 3.2, OAuth, FAPI 2.0)
API products, consumer onboarding, gateway tiers, OAuth and sender-constrained tokens, rate plans, developer portal, versioning, analytics, monetisation, APIOps
ArchitectureData Platform Architecture Template (Lakehouse, Medallion, Lineage)
Lakehouse or warehouse architecture: consumers, ingestion, medallion layers, table formats, catalogue, OpenLineage 2-0-2 lineage, quality, security, cost
ArchitectureEnterprise AI Platform Reference Architecture Template
Capability map, LLM gateway, permissioned retrieval, agent runtime (MCP, A2A), evals, guardrails, telemetry, showback, 42001 and AI Act hooks